Measure Gizmo - Release m_measuring content when leaving the gizmo

This commit is contained in:
enricoturri1966 2022-11-08 12:16:58 +01:00
parent 46e84dfd35
commit 41c6da913d

View File

@ -405,6 +405,9 @@ void GLGizmoMeasure::on_set_state()
restore_scene_raycasters_state();
m_editing_distance = false;
m_is_editing_distance_first_frame = true;
m_measuring.reset();
int a = 0;
}
else {
m_mode = EMode::BasicSelection;