Salome HOME
Improve translations to French
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Pipe.cpp
index f5a45f605278f7a795aa3da5ff0615a5644554d5..c3a38788782385f5fa00772b093daaa95fefc2fb 100644 (file)
@@ -18,7 +18,6 @@
 //
 
 #include "FeaturesPlugin_Pipe.h"
-#include "FeaturesPlugin_Tools.h"
 
 #include <ModelAPI_AttributeSelection.h>
 #include <ModelAPI_AttributeSelectionList.h>
@@ -374,12 +373,11 @@ void FeaturesPlugin_Pipe::storeResult(const ListOfShape& theBaseShapes,
     aResultBody->loadGeneratedShapes(thePipeAlgo, thePathShape, GeomAPI_Shape::EDGE);
 
   // Store from shapes.
-  FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, thePipeAlgo->fromShapes(), ListOfShape(),
-                                           thePipeAlgo, thePipeAlgo->shape(), "From");
+  storeShapes(aResultBody, theBaseShapes.front()->shapeType(), thePipeAlgo->fromShapes(), "From_");
 
   // Store to shapes.
-  FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, thePipeAlgo->toShapes(), ListOfShape(),
-                                           thePipeAlgo, thePipeAlgo->shape(), "To");
+  storeShapes(aResultBody, theBaseShapes.back()->shapeType(), thePipeAlgo->toShapes(), "To_");
+
 
   setResult(aResultBody, theResultIndex);
 }