From 0448acdd8e8c1e1638a2cf861e42e915966b2034 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 23 Dec 2014 20:18:20 +0300 Subject: [PATCH] A fix to remove the selection filter by abort the sketch operation. --- src/PartSet/PartSet_SketcherMgr.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2