Measure Gizmo - Fixed unwanted volume displacement when click and dragging outside of an highlighted feature
This commit is contained in:
parent
8681770eaa
commit
38ecef036a
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,10 @@ bool GLGizmoMeasure::on_mouse(const wxMouseEvent &mouse_event)
|
|||
|
||||
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
|
||||
// take responsibility for left up
|
||||
|
|
Loading…
Add table
Reference in a new issue