Revert several changes after #26446
Locale
ModelAPI
ModelGeomAlgo
- ModuleBase
)
ADD_DEFINITIONS(-DMODELHIGHAPI_EXPORTS -DWNT)
${PROJECT_SOURCE_DIR}/src/Locale
${PROJECT_SOURCE_DIR}/src/ModelAPI
${PROJECT_SOURCE_DIR}/src/ModelGeomAlgo
- ${PROJECT_SOURCE_DIR}/src/ModuleBase
${PROJECT_SOURCE_DIR}/src/PartSetPlugin
${OpenCASCADE_INCLUDE_DIR}
)
#include <ModelAPI_ResultConstruction.h>
#include <ModelAPI_Events.h>
-#include <ModuleBase_Tools.h>
-
#include <cmath>
#include <sstream>
aNbTransactions = aNbUndo;
++aTransactionID;
}
- static std::string anOperationPrefix(ModuleBase_Tools::translate("", "Operation").toStdString());
std::ostringstream aTransactionName;
- aTransactionName << anOperationPrefix << "_" << aTransactionID;
+ aTransactionName << "Operation_" << aTransactionID;
ModelAPI_Session::get()->startOperation(aTransactionName.str());
}