mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-08 18:59:00 +08:00
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed update of sidebar object manipulation reset buttons after using a gizmo
This commit is contained in:
parent
fce4242663
commit
dea188083c
@ -721,6 +721,12 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
|
|||||||
gizmo_event(SLAGizmoEventType::RightUp, mouse_pos, evt.ShiftDown(), evt.AltDown(), control_down);
|
gizmo_event(SLAGizmoEventType::RightUp, mouse_pos, evt.ShiftDown(), evt.AltDown(), control_down);
|
||||||
processed = true;
|
processed = true;
|
||||||
}
|
}
|
||||||
|
#if ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS
|
||||||
|
else if (evt.LeftUp()) {
|
||||||
|
selection.stop_dragging();
|
||||||
|
wxGetApp().obj_manipul()->set_dirty();
|
||||||
|
}
|
||||||
|
#endif // ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// mouse inside toolbar
|
// mouse inside toolbar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user