mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023295: A part of conditional expression is always true
Checking if curve type is GeomAbs_BSplineCurve.
This commit is contained in:
@@ -2042,7 +2042,7 @@ void ProcessAloneStickVertices(const Standard_Integer nF1,
|
||||
const IntTools_Curve& aIC=aBC.Curve();
|
||||
//Handle(Geom_Curve) aC3D=aIC.Curve(); //DEB
|
||||
aTypeC=aIC.Type();
|
||||
if (!(aTypeC==GeomAbs_BezierCurve || GeomAbs_BSplineCurve)) {
|
||||
if (!(aTypeC==GeomAbs_BezierCurve || aTypeC==GeomAbs_BSplineCurve)) {
|
||||
continue;
|
||||
}
|
||||
//
|
||||
|
Reference in New Issue
Block a user