X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_OperationMgr.cpp;h=9015698d582966f93ae001765259990786f6314e;hb=59a007784d1e103bcb352c515eb6feafa170f1ff;hp=5d89fcab12801482af4688fbfb3b834f38e40623;hpb=a6d1e8be5db1d94fdee39c412b8393d74bfcca2f;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 5d89fcab1..9015698d5 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -431,6 +431,9 @@ void XGUI_OperationMgr::onBeforeOperationStarted() qDebug(QString("\tdocument->currentFeature(false) = %1").arg( ModuleBase_Tools::objectInfo(ModelAPI_Session::get()->activeDocument()->currentFeature(false))).toStdString().c_str()); #endif + ModuleBase_IModule* aModule = myWorkshop->module(); + if (aModule) + aModule->beforeOperationStarted(aFOperation); } } @@ -487,6 +490,9 @@ void XGUI_OperationMgr::onBeforeOperationCommitted() qDebug(QString("\tdocument->currentFeature(false) = %1").arg( ModuleBase_Tools::objectInfo(ModelAPI_Session::get()->activeDocument()->currentFeature(false))).toStdString().c_str()); #endif + ModuleBase_IModule* aModule = myWorkshop->module(); + if (aModule) + aModule->beforeOperationStopped(aFOperation); } }