diff options
Diffstat (limited to 'src/libavoid/static.cpp')
| -rw-r--r-- | src/libavoid/static.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libavoid/static.cpp b/src/libavoid/static.cpp index 11ccfd76f..740a4f9c0 100644 --- a/src/libavoid/static.cpp +++ b/src/libavoid/static.cpp @@ -39,7 +39,7 @@ static void computeCompleteVis(Router *router); // This should only be used for the static algorithm. // // XXX: If to set up the vis graph for incremental it would need -// the shapeRef ppinters in obs. +// the shapeRef pointers in obs. // void CreateVisGraph(Router *router, Polygn **obs, int n_obs) { @@ -94,6 +94,8 @@ void DestroyVisGraph(Router *router) conn->removeFromGraph(); conn->unInitialise(); } + // Clear contains info. + router->contains.clear(); assert(router->vertices.connsBegin() == NULL); } |
