Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchAPI / SketchAPI_ConstraintAngle.cpp
index 92a0073b2a952f300643235cb885c1b455420715..6128fb600c5d860e4adc6e20185d62f2a13668bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2023  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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;
 }