]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the error related to duplicates in dump of ConstraintAngle.
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 26 Apr 2020 10:58:37 +0000 (13:58 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 26 Apr 2020 10:58:37 +0000 (13:58 +0300)
src/SketchAPI/SketchAPI_ConstraintAngle.cpp

index 94e5ecf86e330ff7bcdb9c1807b644dc046b1f6f..e1e015f73966ef3ac94f333175cec5ceff08d51c 100644 (file)
@@ -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;