NFC:Triangulation - don't add zero-length bridges to avoid list.
This commit is contained in:
parent
b208cd8cae
commit
0413c1b926
@ -210,8 +210,10 @@ haveEdge:
|
|||||||
|
|
||||||
// and future bridges mustn't cross our bridge, and it's tricky to get
|
// and future bridges mustn't cross our bridge, and it's tricky to get
|
||||||
// things right if two bridges come from the same point
|
// things right if two bridges come from the same point
|
||||||
|
if(withbridge) {
|
||||||
avoidEdges->AddEdge(a, b);
|
avoidEdges->AddEdge(a, b);
|
||||||
avoidPts->Add(&a);
|
avoidPts->Add(&a);
|
||||||
|
}
|
||||||
avoidPts->Add(&b);
|
avoidPts->Add(&b);
|
||||||
|
|
||||||
l.Clear();
|
l.Clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user