Show sequential print clearance regions when Move/Rotate/Scale gizmos are active

This commit is contained in:
enricoturri1966 2021-06-01 11:36:12 +02:00
parent 8e683aeb75
commit 6b7bd30da3
4 changed files with 78 additions and 17 deletions

View file

@ -635,6 +635,11 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
selection.start_dragging();
start_dragging();
#if ENABLE_SEQUENTIAL_LIMITS
// Let the plater know that the dragging started
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_MOUSE_DRAGGING_STARTED));
#endif // ENABLE_SEQUENTIAL_LIMITS
if (m_current == Flatten) {
// Rotate the object so the normal points downward:
m_parent.do_flatten(get_flattening_normal(), L("Gizmo-Place on Face"));