1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Correction of OCCT for ACIS22398

This commit is contained in:
SSV 2011-07-22 08:37:55 +00:00 committed by bugmaster
parent fbadd2ccce
commit ba9cc08b88

View File

@ -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())){