From ba9cc08b8894a6a57c140d94d3b9ecbc422e2af9 Mon Sep 17 00:00:00 2001 From: SSV <> Date: Fri, 22 Jul 2011 08:37:55 +0000 Subject: [PATCH] Correction of OCCT for ACIS22398 --- src/ShapeFix/ShapeFix_Wire.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ShapeFix/ShapeFix_Wire.cxx b/src/ShapeFix/ShapeFix_Wire.cxx index e607c71957..a3eae03c27 100755 --- a/src/ShapeFix/ShapeFix_Wire.cxx +++ b/src/ShapeFix/ShapeFix_Wire.cxx @@ -2986,9 +2986,7 @@ Standard_Boolean ShapeFix_Wire::FixNotchedEdges() if ( ! Context().IsNull() ) UpdateWire(); Handle(ShapeExtend_WireData) sewd = WireData(); - for (Standard_Integer i = 1; i <= NbEdges() && NbEdges() >= 2; i++) { - // NbEdges >= 2 -- equality also acceptable (ssv; 16.06.2011; ACIS22569) - + for (Standard_Integer i = 1; i <= NbEdges() && NbEdges() > 2; i++) { Standard_Real param; Standard_Integer toRemove; if(theAdvAnalyzer->CheckNotchedEdges(i,toRemove,param,MinTolerance())){