From: vsv Date: Wed, 20 May 2015 13:55:00 +0000 (+0300) Subject: Fix for delete operation X-Git-Tag: V_1.2.0~134 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=318ffe26e2d85769283fbc608e688fa6be5383c7;p=modules%2Fshaper.git Fix for delete operation --- 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