1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023141: Suspicious if (2)

Fixed condition which was always true
This commit is contained in:
aba 2012-10-16 15:11:33 +04:00
parent 8f905bca47
commit 06c23d6a33

View File

@ -357,9 +357,9 @@ void BRepFill_TrimEdgeTool::IntersectWith(const TopoDS_Edge& Edge1,
Standard_Real TolInit= 1.e-9;
Standard_Integer nn = 7;
if(AC1.GetType() != GeomAbs_Circle ||
if(AC1.GetType() != GeomAbs_Circle &&
AC1.GetType() != GeomAbs_Line ||
AC2.GetType() != GeomAbs_Circle ||
AC2.GetType() != GeomAbs_Circle &&
AC2.GetType() != GeomAbs_Line ) {
TolInit = 1.e-8;