From: nds Date: Tue, 3 Nov 2015 13:35:53 +0000 (+0300) Subject: Internal Edit operation in a transaction. X-Git-Tag: V_2.0.0_alfa1~6^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=db46ba56146de807d5f8ff4ede065f40b4132b64;p=modules%2Fshaper.git Internal Edit operation in a transaction. --- diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index 974a126b3..2bc23f10d 100755 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -57,10 +57,7 @@ void ModuleBase_OperationFeature::setEditOperation(const bool theRestartTransact myIsEditing = true; if (theRestartTransaction) { SessionPtr aMgr = ModelAPI_Session::get(); - DocumentPtr aDoc = aMgr->activeDocument(); - FeaturePtr aFeature = aDoc->currentFeature(false); ModelAPI_Session::get()->finishOperation(); - FeaturePtr anAFeature = aDoc->currentFeature(false); QString anId = getDescription()->operationId(); if (myIsEditing) {