mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-05 16:50:38 +08:00
Merge branch 'master' into fs_dir_per_glyph_SPE-1597
This commit is contained in:
commit
9ef9f10caf
@ -948,6 +948,7 @@ void GLGizmoCut3D::render_model(GLModel& model, const ColorRGBA& color, Transfor
|
||||
shader->start_using();
|
||||
|
||||
shader->set_uniform("view_model_matrix", view_model_matrix);
|
||||
shader->set_uniform("emission_factor", 0.2f);
|
||||
shader->set_uniform("projection_matrix", wxGetApp().plater()->get_camera().get_projection_matrix());
|
||||
|
||||
model.set_color(color);
|
||||
|
@ -3652,7 +3652,8 @@ bool Tab::select_preset(std::string preset_name, bool delete_current /*=false*/,
|
||||
}
|
||||
}
|
||||
|
||||
// update_tab_ui(); //! ysFIXME delete after testing
|
||||
// ! update preset combobox, to revert previously selection
|
||||
update_tab_ui();
|
||||
|
||||
// Trigger the on_presets_changed event so that we also restore the previous value in the plater selector,
|
||||
// if this action was initiated from the plater.
|
||||
|
Loading…
x
Reference in New Issue
Block a user