From c4e68fcf7fe27f49a6e811d105c0b445404ec97f Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Sun, 26 Apr 2020 13:58:37 +0300 Subject: [PATCH] Fix the error related to duplicates in dump of ConstraintAngle. --- src/SketchAPI/SketchAPI_ConstraintAngle.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2