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,9 +52,14 @@ bool GLGizmoFlatten::on_mouse(const wxMouseEvent &mouse_event)
|
|||||||
|
|
||||||
} else if (mouse_event.LeftUp()) {
|
} else if (mouse_event.LeftUp()) {
|
||||||
if (m_mouse_left_down) {
|
if (m_mouse_left_down) {
|
||||||
// responsible for mouse left up after selecting plane
|
if (m_hover_id == -1)
|
||||||
m_mouse_left_down = false;
|
// no plane hovered
|
||||||
return true;
|
return false;
|
||||||
|
else {
|
||||||
|
// responsible for mouse left up after selecting plane
|
||||||
|
m_mouse_left_down = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (mouse_event.Leaving()) {
|
} else if (mouse_event.Leaving()) {
|
||||||
m_mouse_left_down = false;
|
m_mouse_left_down = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user