summaryrefslogtreecommitdiffstats
path: root/src/libavoid/static.cpp
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2006-07-14 05:30:15 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2006-07-14 05:30:15 +0000
commit4d9217f4f7b6e5b11f88af486e8659f539dc1300 (patch)
tree4e554ba1a27ff9ef8d3d3299cca9eb303c73a726 /src/libavoid/static.cpp
parentfixed warnings (diff)
downloadinkscape-4d9217f4f7b6e5b11f88af486e8659f539dc1300.tar.gz
inkscape-4d9217f4f7b6e5b11f88af486e8659f539dc1300.zip
* src/sp-conn-end-pair.cpp, src/connector-context.cpp,
src/document.cpp, src/libavoid/*: Update libavoid with upstream fixes, optimisations and new features. (bzr r1411)
Diffstat (limited to 'src/libavoid/static.cpp')
-rw-r--r--src/libavoid/static.cpp4
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);
}