Fixed gizmos update after objects loading

This commit is contained in:
Enrico Turri 2019-09-09 15:55:04 +02:00
parent eae02f6cad
commit 6507b7bf39

View file

@ -2368,6 +2368,10 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
{ {
selection.add_object((unsigned int)idx, false); selection.add_object((unsigned int)idx, false);
} }
if (view3D->get_canvas3d()->get_gizmos_manager().is_running())
// 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; return obj_idxs;