From: Clarisse Genrault Date: Tue, 7 Mar 2017 12:54:31 +0000 (+0100) Subject: Fix dumping multitranslation. X-Git-Tag: V_2.7.0~252 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4be9792a7275fee6a95227391b66bf97a100a99;p=modules%2Fshaper.git Fix dumping multitranslation. --- diff --git a/src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp b/src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp index f32a4dc60..07732415b 100644 --- a/src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp +++ b/src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp @@ -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; diff --git a/src/FeaturesAPI/FeaturesAPI_Translation.cpp b/src/FeaturesAPI/FeaturesAPI_Translation.cpp index 88cb99e87..fea731326 100644 --- a/src/FeaturesAPI/FeaturesAPI_Translation.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Translation.cpp @@ -142,7 +142,7 @@ void FeaturesAPI_Translation::dump(ModelHighAPI_Dumper& theDumper) const theDumper << ", " << anAttrStartPoint << ", " << anAttrEndPoint; } - theDumper << ")" << std::endl; + theDumper << ")" << std::endl; } //==================================================================================================