Fixed build when ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX is disabled

This commit is contained in:
enricoturri1966 2020-03-25 09:33:59 +01:00
parent df8def7545
commit 3990598f01

View File

@ -531,7 +531,7 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
#if ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX #if ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX
else if (evt.Dragging() && !is_dragging()) else if (evt.Dragging() && !is_dragging())
#else #else
else if (evt.Dragging())) else if (evt.Dragging())
#endif // ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX #endif // ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX
{ {
if (m_mouse_capture.any()) if (m_mouse_capture.any())