diff --git a/src/srf/triangulate.cpp b/src/srf/triangulate.cpp index 7b75bd15..e2e94c67 100644 --- a/src/srf/triangulate.cpp +++ b/src/srf/triangulate.cpp @@ -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 - avoidEdges->AddEdge(a, b); - avoidPts->Add(&a); + if(withbridge) { + avoidEdges->AddEdge(a, b); + avoidPts->Add(&a); + } avoidPts->Add(&b); l.Clear();