Fixed rotate gizmo position after arrange

This commit is contained in:
Enrico Turri 2018-08-28 12:05:16 +02:00
parent 6ce686aff8
commit dd86546d0f

View File

@ -2487,10 +2487,12 @@ void GLCanvas3D::reload_scene(bool force)
// 1st call to reset if no objects left // 1st call to reset if no objects left
update_gizmos_data(); update_gizmos_data();
update_volumes_selection(m_objects_selections); update_volumes_selection(m_objects_selections);
// 2nd call to restore if something selected // 2nd call to restore selection, if any
if (!m_objects_selections.empty()) if (!m_objects_selections.empty())
update_gizmos_data(); update_gizmos_data();
m_gizmos.refresh();
if (m_config->has("nozzle_diameter")) if (m_config->has("nozzle_diameter"))
{ {
// Should the wipe tower be visualized ? // Should the wipe tower be visualized ?