]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
Salome HOME
Issue #2023: Crash during a rotation after an intersection
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Rotation.cpp
index 9ba830b83b603144021b4cbe62eee553cd8b3cc6..16028546cda773f9cc404da96c96521d5085fc47 100755 (executable)
@@ -128,11 +128,10 @@ void FeaturesPlugin_Rotation::loadNamingDS(GeomAlgoAPI_Rotation& theRotaionAlgo,
   // Store result.
   theResultBody->storeModified(theBaseShape, theRotaionAlgo.shape());
 
-  int aRotatedTag = 1;
   std::string aRotatedName = "Rotated";
   std::shared_ptr<GeomAPI_DataMapOfShapeShape> aSubShapes = theRotaionAlgo.mapOfSubShapes();
 
   FeaturesPlugin_Tools::storeModifiedShapes(theRotaionAlgo, theResultBody,
-                                            theBaseShape, aRotatedTag, aRotatedName,
+                                            theBaseShape, 1, 2, 3, aRotatedName,
                                             *aSubShapes.get());
 }