Salome HOME
Issue #2023: Crash during a rotation after an intersection
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Translation.cpp
index 4e7dcef66a9b08d3b02e39bc27c658b8bd79e7ef..34e5bd1122b2e1a642e6cfdfc82a0e07c7cb171a 100644 (file)
@@ -356,11 +356,10 @@ void FeaturesPlugin_Translation::loadNamingDS(GeomAlgoAPI_Translation& theTransl
   // Store result.
   theResultBody->storeModified(theBaseShape, theTranslationAlgo.shape());
 
-  int aTranslatedTag = 1;
   std::string aTranslatedName = "Translated";
   std::shared_ptr<GeomAPI_DataMapOfShapeShape> aSubShapes = theTranslationAlgo.mapOfSubShapes();
 
   FeaturesPlugin_Tools::storeModifiedShapes(theTranslationAlgo, theResultBody,
-                                            theBaseShape, aTranslatedTag, aTranslatedName,
+                                            theBaseShape, 1, 2, 3, aTranslatedName,
                                             *aSubShapes.get());
 }