When pressing ESC key to clear the current selection do not repeatedly update the view if the user keeps the key pressed.
This commit is contained in:
parent
828dd5ddf8
commit
253b24e298
@ -1827,6 +1827,9 @@ void GLCanvas3D::select_all()
|
|||||||
|
|
||||||
void GLCanvas3D::deselect_all()
|
void GLCanvas3D::deselect_all()
|
||||||
{
|
{
|
||||||
|
if (m_selection.is_empty())
|
||||||
|
return;
|
||||||
|
|
||||||
m_selection.remove_all();
|
m_selection.remove_all();
|
||||||
wxGetApp().obj_manipul()->set_dirty();
|
wxGetApp().obj_manipul()->set_dirty();
|
||||||
m_gizmos.reset_all_states();
|
m_gizmos.reset_all_states();
|
||||||
|
Loading…
Reference in New Issue
Block a user