NFC:Triangulation - don't add zero-length bridges to avoid list.

pull/697/head
phkahler 2020-09-08 13:01:37 -04:00
parent b208cd8cae
commit 0413c1b926
1 changed files with 4 additions and 2 deletions

View File

@ -210,8 +210,10 @@ haveEdge:
// and future bridges mustn't cross our bridge, and it's tricky to get
// things right if two bridges come from the same point
if(withbridge) {
avoidEdges->AddEdge(a, b);
avoidPts->Add(&a);
}
avoidPts->Add(&b);
l.Clear();