From: mpv Date: Thu, 5 May 2022 06:38:59 +0000 (+0300) Subject: #29623 Backward compatibility broken X-Git-Tag: V9_9_0rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=908b9cc4f786d760834a28816195407500ce6dff;p=modules%2Fshaper.git #29623 Backward compatibility broken Dump the direct angle direction by default. --- diff --git a/src/SketchAPI/SketchAPI_ConstraintAngle.cpp b/src/SketchAPI/SketchAPI_ConstraintAngle.cpp index 7e513d91e..560ac324d 100644 --- a/src/SketchAPI/SketchAPI_ConstraintAngle.cpp +++ b/src/SketchAPI/SketchAPI_ConstraintAngle.cpp @@ -115,6 +115,8 @@ static std::string angleTypeToString(FeaturePtr theFeature) aType = THE_ANGLE_SUPPLEMENTARY; else if (aBackwardDiff < aDirectDiff && aBackwardDiff < aComplementaryDiff) aType = THE_ANGLE_BACKWARD; + else + aType = THE_ANGLE_DIRECT; } return aType; }