Salome HOME
Fix regression in unit tests
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_ExtrusionSketch.cpp
index 94fb46a4c4aa19852895a7ef6f6e7f43c1c38c8a..7854fc2511b306dc287c3b99188e5027697d0ab5 100644 (file)
@@ -39,11 +39,7 @@ void FeaturesPlugin_ExtrusionSketch::initMakeSolidsAttributes()
 
 //=================================================================================================
 void FeaturesPlugin_ExtrusionSketch::makeSolid(const std::shared_ptr<GeomAPI_Shape> theFace,
-                                               std::shared_ptr<GeomAPI_Shape>& theResult,
-                                               ListOfShape& theFromFaces,
-                                               ListOfShape& theToFaces,
-                                               std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape,
-                                               std::shared_ptr<GeomAPI_DataMapOfShapeShape>& theDataMap)
+                                               std::shared_ptr<GeomAlgoAPI_MakeShape>& theMakeShape)
 {
   // Getting extrusion sizes.
   double aToSize = 0.0;
@@ -87,9 +83,5 @@ void FeaturesPlugin_ExtrusionSketch::makeSolid(const std::shared_ptr<GeomAPI_Sha
     return;
   }
 
-  theResult = aPrismAlgo->shape();
-  theFromFaces = aPrismAlgo->fromFaces();
-  theToFaces = aPrismAlgo->toFaces();
   theMakeShape = aPrismAlgo;
-  theDataMap = aPrismAlgo->mapOfSubShapes();
 }