From: sbh Date: Thu, 10 Apr 2014 09:53:42 +0000 (+0400) Subject: Execute feature on operation start/commit. X-Git-Tag: V_0.1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f7629543f0653bd6e4ed7b2a8669c20162b6167;p=modules%2Fshaper.git Execute feature on operation start/commit. --- diff --git a/src/ModuleBase/ModuleBase_Operation.cpp b/src/ModuleBase/ModuleBase_Operation.cpp index 1011fa2ca..c3a0bd6fe 100644 --- a/src/ModuleBase/ModuleBase_Operation.cpp +++ b/src/ModuleBase/ModuleBase_Operation.cpp @@ -289,6 +289,7 @@ void ModuleBase_Operation::startOperation() { std::shared_ptr aDoc = ModelAPI_PluginManager::get()->rootDocument(); myFeature = aDoc->addFeature(myOperationId.toStdString()); + myFeature->execute(); //emit callSlot(); //commit(); } @@ -318,6 +319,7 @@ void ModuleBase_Operation::abortOperation() */ void ModuleBase_Operation::commitOperation() { + myFeature->execute(); } /*!