mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 09:11:23 -06: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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue