]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#29623 Backward compatibility broken
authormpv <mpv@opencascade.com>
Thu, 5 May 2022 06:38:59 +0000 (09:38 +0300)
committermpv <mpv@opencascade.com>
Thu, 5 May 2022 06:38:59 +0000 (09:38 +0300)
Dump the direct angle direction by default.

src/SketchAPI/SketchAPI_ConstraintAngle.cpp

index 92a0073b2a952f300643235cb885c1b455420715..871a7017ff27f4ac88789279ad6dc17cc7790119 100644 (file)
@@ -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;
 }