From ca1a3cc7460562a3b695fea0dd87d0fe1b5a68e6 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 28 Oct 2014 15:28:18 +0300 Subject: [PATCH] Provide multi-edit --- src/PartSet/PartSet_OperationFeatureEditMulti.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PartSet/PartSet_OperationFeatureEditMulti.cpp b/src/PartSet/PartSet_OperationFeatureEditMulti.cpp index d1ee29448..0e37baa77 100644 --- a/src/PartSet/PartSet_OperationFeatureEditMulti.cpp +++ b/src/PartSet/PartSet_OperationFeatureEditMulti.cpp @@ -110,6 +110,9 @@ void PartSet_OperationFeatureEditMulti::mouseMoved(QMouseEvent* theEvent, Module Handle(V3d_View) aView = theViewer->activeView(); gp_Pnt aPoint = PartSet_Tools::convertClickToPoint(theEvent->pos(), aView); + if (theViewer->isSelectionEnabled()) + theViewer->enableSelection(false); + //blockSelection(true); if (myCurPoint.myIsInitialized) { double aCurX, aCurY; @@ -154,6 +157,8 @@ void PartSet_OperationFeatureEditMulti::mouseReleased( } } } + if (!theViewer->isSelectionEnabled()) + theViewer->enableSelection(true); } void PartSet_OperationFeatureEditMulti::startOperation() -- 2.39.2