X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_MultiTranslation.cpp;fp=src%2FFeaturesPlugin%2FFeaturesPlugin_MultiTranslation.cpp;h=637fcfa31904ed3ff378e1c2f113f4ac2c5f4e6e;hb=fe287b144d91e67a33f4761bd4313dc79ffb20db;hp=c507c7d501a8514e3774601123d6948bd7797101;hpb=f5906e6cb4dac17a7790138d77daba738698ba77;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.cpp b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.cpp index c507c7d50..637fcfa31 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include @@ -169,8 +170,8 @@ void FeaturesPlugin_MultiTranslation::execute() anObjects.topLevelObjects(aTopLevel); for (ListOfShape::iterator anIt = aTopLevel.begin(); anIt != aTopLevel.end(); ++anIt) { ResultBodyPtr aResultBody = document()->createBody(data(), aResultIndex); - FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, anOriginalShapes, ListOfShape(), - aMakeShapeList, *anIt, "Translated"); + ModelAPI_Tools::loadModifiedShapes(aResultBody, anOriginalShapes, ListOfShape(), + aMakeShapeList, *anIt, "Translated"); aResultBody->setTextureFile(theTextureFile); setResult(aResultBody, aResultIndex++); }