Commit d7922c94 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Deactivate point picking when dragging

parent 78308f76
......@@ -714,6 +714,9 @@ ImageViewWidget
QGLWidget::mousePressEvent( event );
m_Manipulator->MousePressEvent( event );
// Deactivate pixel picking during drag
m_IsPickingEnabled = false;
}
/*******************************************************************************/
......@@ -848,6 +851,9 @@ ImageViewWidget
QGLWidget::mouseReleaseEvent( event );
m_Manipulator->MouseReleaseEvent(event);
// Reactivate picking after drag
m_IsPickingEnabled = true;
}
/*******************************************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment