Gbp-Pq: Name 0003-BRepFill_Filling-WireFromList-We-can-t-assume-that-a.patch
while (!Edges.IsEmpty())
{
TopTools_ListIteratorOfListOfShape itl(Edges);
+ bool found = false;
for (; itl.More(); itl.Next())
{
anEdge = TopoDS::Edge(itl.Value());
anEdge.Reverse();
V2 = V3;
}
+ found = true;
break;
}
}
- BB.Add(aWire, anEdge);
- Edges.Remove(itl);
+ if (found)
+ {
+ BB.Add(aWire, anEdge);
+ Edges.Remove(itl);
+ }
+ else
+ break;
}
aWire.Closed(Standard_True);