Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88ee9b2
)
#29623 Backward compatibility broken
author
mpv
<mpv@opencascade.com>
Thu, 5 May 2022 06:38:59 +0000
(09:38 +0300)
committer
vsr
<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
patch
|
blob
|
history
diff --git
a/src/SketchAPI/SketchAPI_ConstraintAngle.cpp
b/src/SketchAPI/SketchAPI_ConstraintAngle.cpp
index 7e513d91e01b0294471cc42259d577d2188a9839..560ac324d46a4d263ca783bfe6ffe0f2cffb8f05 100644
(file)
--- 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;
}