From 26959d0cdecd08e2997e79c3e355f964cb7525a5 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 21 Dec 2018 14:41:47 +0100 Subject: [PATCH] Partial revert of previous commit --- src/slic3r/GUI/GLCanvas3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 8f91382893..4069ec6a0b 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -5375,7 +5375,6 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) // Let the platter know that the dragging finished, so a delayed refresh // of the scene with the background processing data should be performed. post_event(SimpleEvent(EVT_GLCANVAS_MOUSE_DRAGGING_FINISHED)); - m_moving = false; } else if (evt.LeftUp() && m_gizmos.get_current_type() == Gizmos::SlaSupports && m_hover_volume_id != -1) { @@ -5440,6 +5439,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) #endif // ENABLE_CONSTRAINED_CAMERA_TARGET } + m_moving = false; m_mouse.drag.move_volume_idx = -1; m_mouse.set_start_position_3D_as_invalid(); m_mouse.set_start_position_2D_as_invalid();