From 06c23d6a335925d3be7a8783dcdb45bfe841ceec Mon Sep 17 00:00:00 2001 From: aba Date: Tue, 16 Oct 2012 15:11:33 +0400 Subject: [PATCH] 0023141: Suspicious if (2) Fixed condition which was always true --- src/BRepFill/BRepFill_TrimEdgeTool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BRepFill/BRepFill_TrimEdgeTool.cxx b/src/BRepFill/BRepFill_TrimEdgeTool.cxx index 4cbee1d460..a1a009bb2c 100755 --- a/src/BRepFill/BRepFill_TrimEdgeTool.cxx +++ b/src/BRepFill/BRepFill_TrimEdgeTool.cxx @@ -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;