fix for double click selection

This commit is contained in:
Filip Sykala - NTB T15p 2022-09-23 17:06:25 +02:00
parent 8f644f5e08
commit 75557ca06a

View File

@ -3774,6 +3774,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
//m_selection.add(hover_volume_id); // add whole instance //m_selection.add(hover_volume_id); // add whole instance
m_selection.add_volumes(Selection::EMode::Volume, {(unsigned) hover_volume_id}); m_selection.add_volumes(Selection::EMode::Volume, {(unsigned) hover_volume_id});
m_gizmos.open_gizmo(GLGizmosManager::EType::Emboss); m_gizmos.open_gizmo(GLGizmosManager::EType::Emboss);
wxGetApp().obj_list()->update_selections();
return; return;
} }
} }