]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Construction bug fix: the current operation should not be aborted on the popup menu...
authornds <natalia.donis@opencascade.com>
Fri, 20 Mar 2015 09:42:54 +0000 (12:42 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 20 Mar 2015 09:42:54 +0000 (12:42 +0300)
src/PartSet/PartSet_Module.cpp

index a04ce1ee1ec8ba67032568d8747b327547a24dcb..489db5aedf56b3af06dac40d0715b675cce1bae2 100644 (file)
@@ -561,11 +561,8 @@ bool PartSet_Module::deleteObjects()
   if (aSelectedObj.count() == 0)
     return false;
 
-  if (isNestedOp)
-    anOperation->abort();
-
   // the active nested sketch operation should be aborted unconditionally
-  if (PartSet_SketcherMgr::isNestedSketchOperation(anOperation))
+  if (isNestedOp)
     anOperation->abort();
 
   std::set<FeaturePtr> aRefFeatures;