]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A fix for a bug: edit sketch - points are not selectable.
authornds <natalia.donis@opencascade.com>
Wed, 20 May 2015 09:03:58 +0000 (12:03 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 20 May 2015 09:03:58 +0000 (12:03 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 7b942563a5195394d8cf443491cc1d8e7ac2b512..f3d5bfa320deb4f71dcd88151bbf8852f2f34089 100644 (file)
@@ -708,6 +708,9 @@ void PartSet_SketcherMgr::startSketch(ModuleBase_Operation* theOperation)
     myPlaneFilter->setPlane(aPln->impl<gp_Pln>());
   }
   aDisplayer->updateViewer();
+  // all sketch objects should be activated in the sketch selection modes by edit operation start
+  if (theOperation->isEditOperation())
+    activateObjectsInSketchMode(true);
 }
 
 void PartSet_SketcherMgr::stopSketch(ModuleBase_Operation* theOperation)