mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Disable active gizmo as soon as the selection is cleared by clicking on the scene out of any object
This commit is contained in:
1 parent
8abae757d3
commit
9f734a073f
1 file changed
+2
-1
@@ -5379,8 +5379,9 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||||||
m_selection.clear();
|
m_selection.clear();
|
||||||
m_selection.set_mode(Selection::Instance);
|
m_selection.set_mode(Selection::Instance);
|
||||||
wxGetApp().obj_manipul()->update_settings_value(m_selection);
|
wxGetApp().obj_manipul()->update_settings_value(m_selection);
|
||||||
post_event(SimpleEvent(EVT_GLCANVAS_OBJECT_SELECT));
|
m_gizmos.reset_all_states();
|
||||||
_update_gizmos_data();
|
_update_gizmos_data();
|
||||||
|
post_event(SimpleEvent(EVT_GLCANVAS_OBJECT_SELECT));
|
||||||
}
|
}
|
||||||
m_mouse.ignore_up_event = false;
|
m_mouse.ignore_up_event = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user