From: vsv Date: Tue, 28 Oct 2014 12:28:18 +0000 (+0300) Subject: Provide multi-edit X-Git-Tag: V_0.5~68 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca1a3cc7460562a3b695fea0dd87d0fe1b5a68e6;p=modules%2Fshaper.git Provide multi-edit --- 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()