From e419ba088664a34ae78e0fe9fa899152d99107ff Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 22 Jun 2015 16:01:48 +0300 Subject: [PATCH] 1. Compound selection choice is provided for sketch selection in Extrusion operation. This type selection happens by selecting a sketch in ObjectBrowser. The widget selector acceptSubShapes() method is corrected to check shape type of the selected result. It is necessary always, for example in Sketch operation start Translate operation and click on a plane in ObjectBrowser. 2. Document shape filter check whether the operation is started itself. This improvement is similar to the infinite filter using. The matter is that the nested operation stop should not remove the filter from the context. If it is happened, objects from out parts is selected in sketch operation after, for example, translate operation stop. So, it seems that it is a best decision to check the active operation availability in the filter. --- src/PartSet/PartSet_Module.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index dc3840258..45e3f2d43 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -259,7 +259,6 @@ void PartSet_Module::onOperationStopped(ModuleBase_Operation* theOperation) else if (PartSet_SketcherMgr::isNestedSketchOperation(theOperation)) { mySketchMgr->stopNestedSketch(theOperation); } - //myWorkshop->viewer()->removeSelectionFilter(myDocumentShapeFilter); } ModuleBase_Operation* PartSet_Module::currentOperation() const -- 2.39.2