From 8558350d3c7b105b520922dc8dd1666da8cadd22 Mon Sep 17 00:00:00 2001 From: Pawel Date: Tue, 17 Jul 2012 11:34:42 +0200 Subject: [PATCH] 0023295: A part of conditional expression is always true Checking if curve type is GeomAbs_BSplineCurve. --- src/BOPTools/BOPTools_PaveFiller_3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BOPTools/BOPTools_PaveFiller_3.cxx b/src/BOPTools/BOPTools_PaveFiller_3.cxx index d27a8945b8..e81ba3fbf5 100755 --- a/src/BOPTools/BOPTools_PaveFiller_3.cxx +++ b/src/BOPTools/BOPTools_PaveFiller_3.cxx @@ -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; } //