void CurveEditTool::MouseMove( const MouseMoveInput& e ) { if ( GetEditMode() ) { m_ControlPointManipulator->MouseMove( e ); if ( e.Dragging() ) { // clear the current highlight m_Scene->ClearHighlight( ClearHighlightArgs(true) ); // disallow selection when dragging m_AllowSelection = false; } } Base::MouseMove( e ); }
void TransformManipulator::MouseMove( const MouseMoveInput& e ) { if ( e.Dragging() ) { // clear the current highlight m_Scene->ClearHighlight( ClearHighlightArgs (true) ); // disallow selection when dragging m_AllowSelection = false; } else { // reset cached button state m_Left = m_Middle = m_Right = false; // allow selection when not dragging m_AllowSelection = true; } }