From: Artem Zhidkov Date: Sun, 26 Apr 2020 10:58:37 +0000 (+0300) Subject: Fix the error related to duplicates in dump of ConstraintAngle. X-Git-Tag: V9_6_0a1~60^2~68 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4e68fcf7fe27f49a6e811d105c0b445404ec97f;p=modules%2Fshaper.git Fix the error related to duplicates in dump of ConstraintAngle. --- diff --git a/src/SketchAPI/SketchAPI_ConstraintAngle.cpp b/src/SketchAPI/SketchAPI_ConstraintAngle.cpp index 94e5ecf86..e1e015f73 100644 --- a/src/SketchAPI/SketchAPI_ConstraintAngle.cpp +++ b/src/SketchAPI/SketchAPI_ConstraintAngle.cpp @@ -129,6 +129,7 @@ void SketchAPI_ConstraintAngle::dump(ModelHighAPI_Dumper& theDumper) const FeaturePtr aBase = feature(); const std::string& aSketchName = theDumper.parentName(aBase); + theDumper.name(aBase, false, true, true); // mark constraint as dumped theDumper << aSketchName << "." << "setAngle("; bool isFirstAttr = true;