]> 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)
committervsr <vsr@opencascade.com>
Thu, 5 May 2022 17:11:49 +0000 (20:11 +0300)
Dump the direct angle direction by default.

src/SketchAPI/SketchAPI_ConstraintAngle.cpp

index 7e513d91e01b0294471cc42259d577d2188a9839..560ac324d46a4d263ca783bfe6ffe0f2cffb8f05 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;
 }