]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Extra abort in ExtrusionCut removed
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 11 Jun 2015 14:54:29 +0000 (17:54 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 11 Jun 2015 14:54:29 +0000 (17:54 +0300)
src/PartSet/PartSet_WidgetSketchCreator.cpp

index c0a43dbfd229cad6e57ad6a93137e556227e891a..da2af92868a532899d2ead6a7ad366d8e5b6851f 100644 (file)
@@ -151,10 +151,5 @@ bool PartSet_WidgetSketchCreator::focusTo()
 void PartSet_WidgetSketchCreator::onResumed(ModuleBase_Operation* theOp)
 {
   // Abort operation
-  SessionPtr aMgr = ModelAPI_Session::get();
-  bool aIsOp = aMgr->isOperation();
-  // Close transaction
-  if (aIsOp)
-    aMgr->abortOperation();
   theOp->abort();
 }