the original line is:
if (!S.GetType() == GeomAbs_Plane) {
I think it should be sg like:
if (S.GetType() != GeomAbs_Plane) {
... // lots of normal calculation
}
else {
... //one normal calculation
}
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
Hello Ernest,
Thank you for noticing and reporting this problem. It is now registered as a bug OCC8563 "Incorrect comparison in StdPrs_ToolShadedShape::Normal". The problem will be fixed in one of the next releases of Open CASCADE Technology - for the list of bugs fixed please check the Release Notes at http://www.opencascade.org/getocc/whatsnew/.