Fixed missing update of object position when dragging it on the plate while Place on Face gizmo is open
This commit is contained in:
parent
92cf1d6e0c
commit
6e6ab640f4
@ -52,10 +52,15 @@ bool GLGizmoFlatten::on_mouse(const wxMouseEvent &mouse_event)
|
||||
|
||||
} else if (mouse_event.LeftUp()) {
|
||||
if (m_mouse_left_down) {
|
||||
if (m_hover_id == -1)
|
||||
// no plane hovered
|
||||
return false;
|
||||
else {
|
||||
// responsible for mouse left up after selecting plane
|
||||
m_mouse_left_down = false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else if (mouse_event.Leaving()) {
|
||||
m_mouse_left_down = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user