]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A fix to remove the selection filter by abort the sketch operation.
authornds <natalia.donis@opencascade.com>
Tue, 23 Dec 2014 17:18:20 +0000 (20:18 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 23 Dec 2014 17:18:20 +0000 (20:18 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 200297b9c70a0f3f3db7259ca06f0e83e0dec6d5..33a9e91ae49fb672b6d39a06755b8eca08c65ae1 100644 (file)
@@ -380,6 +380,7 @@ void PartSet_SketcherMgr::stopSketch(ModuleBase_Operation* theOperation)
   if ((!aData) || (!aData->isValid())) {
     // The sketch was aborted
     myCurrentSketch = CompositeFeaturePtr();
+    myModule->workshop()->viewer()->removeSelectionFilter(myPlaneFilter);
     return; 
   }
   // Hide all sketcher sub-Objects