mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-28 09:07:52 +08:00
Follow-up of previous commit - check that gizmos are enabled
To be on the safe side, reinstate one part of the check that the previous code did.
This commit is contained in:
parent
99ff6763a1
commit
c731f04331
@ -2527,8 +2527,9 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||
selection.add_object((unsigned int)idx, false);
|
||||
}
|
||||
|
||||
// this is required because the selected object changed and the flatten on face an sla support gizmos need to be updated accordingly
|
||||
view3D->get_canvas3d()->update_gizmos_on_off_state();
|
||||
if (view3D->get_canvas3d()->get_gizmos_manager().is_enabled())
|
||||
// this is required because the selected object changed and the flatten on face an sla support gizmos need to be updated accordingly
|
||||
view3D->get_canvas3d()->update_gizmos_on_off_state();
|
||||
}
|
||||
|
||||
return obj_idxs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user