mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-21 20:04:25 +08:00
Measure Gizmo - Fixed unwanted volume displacement when click and dragging outside of an highlighted feature
This commit is contained in:
parent
8681770eaa
commit
38ecef036a
@ -310,6 +310,10 @@ bool GLGizmoMeasure::on_mouse(const wxMouseEvent &mouse_event)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
// if the mouse pointer is on any volume, filter out the event to prevent the user to move it
|
||||||
|
// equivalent tp: return (m_parent.get_first_hover_volume_idx() != -1);
|
||||||
|
return m_curr_feature.has_value();
|
||||||
|
|
||||||
// fix: prevent restart gizmo when reselect object
|
// fix: prevent restart gizmo when reselect object
|
||||||
// take responsibility for left up
|
// take responsibility for left up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user