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:
enricoturri1966 2022-07-27 15:35:35 +02:00
parent 828dd5ddf8
commit 253b24e298

View File

@ -1827,6 +1827,9 @@ void GLCanvas3D::select_all()
void GLCanvas3D::deselect_all()
{
if (m_selection.is_empty())
return;
m_selection.remove_all();
wxGetApp().obj_manipul()->set_dirty();
m_gizmos.reset_all_states();