From: vsv Date: Thu, 11 Jun 2015 14:54:29 +0000 (+0300) Subject: Extra abort in ExtrusionCut removed X-Git-Tag: V_1.3.0~246 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc28f7395b8cf6f0d6209b4e0cf6d69a18cb934c;p=modules%2Fshaper.git Extra abort in ExtrusionCut removed --- diff --git a/src/PartSet/PartSet_WidgetSketchCreator.cpp b/src/PartSet/PartSet_WidgetSketchCreator.cpp index c0a43dbfd..da2af9286 100644 --- a/src/PartSet/PartSet_WidgetSketchCreator.cpp +++ b/src/PartSet/PartSet_WidgetSketchCreator.cpp @@ -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(); }