mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06: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:
parent
8abae757d3
commit
9f734a073f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue