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
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue