From dc28f7395b8cf6f0d6209b4e0cf6d69a18cb934c Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 11 Jun 2015 17:54:29 +0300 Subject: [PATCH] Extra abort in ExtrusionCut removed --- src/PartSet/PartSet_WidgetSketchCreator.cpp | 5 ----- 1 file changed, 5 deletions(-) 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(); } -- 2.39.2