mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-17 11:35:56 +08:00
Measure Gizmo - Release m_measuring content when leaving the gizmo
This commit is contained in:
parent
46e84dfd35
commit
41c6da913d
@ -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…
x
Reference in New Issue
Block a user