From 318ffe26e2d85769283fbc608e688fa6be5383c7 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 20 May 2015 16:55:00 +0300 Subject: [PATCH] Fix for delete operation --- src/PartSet/PartSet_Module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index bb7c17e30..0805038bd 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -508,7 +508,7 @@ bool PartSet_Module::deleteObjects() ModuleBase_Operation* anOperation = myWorkshop->currentOperation(); bool isSketchOp = PartSet_SketcherMgr::isSketchOperation(anOperation), isNestedOp = PartSet_SketcherMgr::isNestedSketchOperation(anOperation); - if (isSketchOp && isNestedOp) { + if (isSketchOp || isNestedOp) { // 2. find selected presentations // selected objects should be collected before the current operation abort because // the abort leads to selection lost on constraint objects. It can be corrected after #386 issue -- 2.39.2