diff options
Diffstat (limited to '')
| -rw-r--r-- | src/libavoid/makepath.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libavoid/makepath.cpp b/src/libavoid/makepath.cpp index 776ffd307..37b4f1801 100644 --- a/src/libavoid/makepath.cpp +++ b/src/libavoid/makepath.cpp @@ -429,6 +429,10 @@ void makePath(ConnRef *lineRef, bool *flag) // each other. This is true if we are here. if (!IncludeEndpoints && InvisibilityGrph) { + if (!directEdge) + { + directEdge = new EdgeInf(src, tar); + } directEdge->addBlocker(0); } |
