mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-09 14:18:09 +08:00
0023141: Suspicious if (2)
Fixed condition which was always true
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user