From: nds Date: Tue, 23 Dec 2014 17:18:20 +0000 (+0300) Subject: A fix to remove the selection filter by abort the sketch operation. X-Git-Tag: V_0.7.0_rc1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0448acdd8e8c1e1638a2cf861e42e915966b2034;p=modules%2Fshaper.git A fix to remove the selection filter by abort the sketch operation. --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 200297b9c..33a9e91ae 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -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