Measure Gizmo - Release m_measuring content when leaving the gizmo
This commit is contained in:
parent
46e84dfd35
commit
41c6da913d
1 changed files with 3 additions and 0 deletions
|
@ -405,6 +405,9 @@ void GLGizmoMeasure::on_set_state()
|
||||||
restore_scene_raycasters_state();
|
restore_scene_raycasters_state();
|
||||||
m_editing_distance = false;
|
m_editing_distance = false;
|
||||||
m_is_editing_distance_first_frame = true;
|
m_is_editing_distance_first_frame = true;
|
||||||
|
m_measuring.reset();
|
||||||
|
|
||||||
|
int a = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
m_mode = EMode::BasicSelection;
|
m_mode = EMode::BasicSelection;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue