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