]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix dumping multitranslation.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Tue, 7 Mar 2017 12:54:31 +0000 (13:54 +0100)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Tue, 7 Mar 2017 12:54:31 +0000 (13:54 +0100)
src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp
src/FeaturesAPI/FeaturesAPI_Translation.cpp

index f32a4dc6088f74ff7294ef91737bfb3782e208b6..07732415b27fc3958d7a5d71f9d978b0ac6ad6ef 100644 (file)
@@ -139,7 +139,7 @@ void FeaturesAPI_MultiTranslation::dump(ModelHighAPI_Dumper& theDumper) const
     AttributeIntegerPtr anAttrSecondNumber =
       aBase->integer(FeaturesPlugin_MultiTranslation::NB_COPIES_SECOND_DIR_ID());
     theDumper << ", " << anAttrSecondAxis << ", " << anAttrSecondStep;
-    theDumper << ", " << anAttrSecondStep;
+    theDumper << ", " << anAttrSecondNumber;
   }
 
   theDumper << ")" << std::endl;
index 88cb99e87e59d8179de3c941bd750e11c3a31ee3..fea7313260ff10b4d6aa221677e805ad120496f0 100644 (file)
@@ -142,7 +142,7 @@ void FeaturesAPI_Translation::dump(ModelHighAPI_Dumper& theDumper) const
     theDumper << ", " << anAttrStartPoint << ", " << anAttrEndPoint;
   }
 
-   theDumper << ")" << std::endl;
+  theDumper << ")" << std::endl;
 }
 
 //==================================================================================================