Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve translations to French
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_Pipe.cpp
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Pipe.cpp
b/src/FeaturesPlugin/FeaturesPlugin_Pipe.cpp
index f5a45f605278f7a795aa3da5ff0615a5644554d5..c3a38788782385f5fa00772b093daaa95fefc2fb 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Pipe.cpp
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Pipe.cpp
@@
-18,7
+18,6
@@
//
#include "FeaturesPlugin_Pipe.h"
//
#include "FeaturesPlugin_Pipe.h"
-#include "FeaturesPlugin_Tools.h"
#include <ModelAPI_AttributeSelection.h>
#include <ModelAPI_AttributeSelectionList.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.
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.
// 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);
}
setResult(aResultBody, theResultIndex);
}