Salome HOME
Updated generated shapes storing.
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultBody.cpp
index c973853cdd9da51287d3f76b71ea5c7bc24bd715..cdc10a70323e4bb361c183d216879ca1068da7df 100644 (file)
@@ -140,15 +140,12 @@ void ModelAPI_ResultBody::loadModifiedShapes(const GeomMakeShapePtr& theAlgo,
   myBuilder->loadModifiedShapes(theAlgo, theOldShape, theShapeTypeToExplore, theName);
 }
 
-void ModelAPI_ResultBody::loadAndOrientGeneratedShapes(GeomAlgoAPI_MakeShape* theMS,
-                                                       GeomShapePtr theShapeIn,
-                                                       const int theKindOfShape,
-                                                       const int theTag,
-                                                       const std::string& theName,
-                                                       GeomAPI_DataMapOfShapeShape& theSubShapes)
-{
-  myBuilder->loadAndOrientGeneratedShapes(
-    theMS, theShapeIn, theKindOfShape, theTag, theName, theSubShapes);
+void ModelAPI_ResultBody::loadGeneratedShapes(const GeomMakeShapePtr& theAlgo,
+                                              const GeomShapePtr& theOldShape,
+                                              const GeomAPI_Shape::ShapeType theShapeTypeToExplore,
+                                              const std::string& theName)
+{
+  myBuilder->loadGeneratedShapes(theAlgo, theOldShape, theShapeTypeToExplore, theName);
 }
 
 void ModelAPI_ResultBody::loadFirstLevel(GeomShapePtr theShape,