summaryrefslogtreecommitdiffstats
path: root/src/libavoid
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-08-07 06:06:10 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-08-07 06:06:10 +0000
commit10f3e62a490f3942c0f5be3947d99c4a4f41ea1e (patch)
tree9a0a02a52d3a032d43bc686056d77dfeb98e703d /src/libavoid
parentRedo the fix for bug #1348375 (diff)
downloadinkscape-10f3e62a490f3942c0f5be3947d99c4a4f41ea1e.tar.gz
inkscape-10f3e62a490f3942c0f5be3947d99c4a4f41ea1e.zip
Connectors. Fix for Bug #1155046 (Assertion pathlen < 200 failed).
Fixed bugs: - https://launchpad.net/bugs/1155046 (bzr r13501)
Diffstat (limited to 'src/libavoid')
-rw-r--r--src/libavoid/connector.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libavoid/connector.cpp b/src/libavoid/connector.cpp
index b8c99a48c..40ded7498 100644
--- a/src/libavoid/connector.cpp
+++ b/src/libavoid/connector.cpp
@@ -845,7 +845,10 @@ bool ConnRef::generatePath(void)
break;
}
// Check we don't have an apparent infinite connector path.
- COLA_ASSERT(pathlen < 200);
+//#ifdef PATHDEBUG
+ db_printf("Path length: %i\n", pathlen);
+//#endif
+ COLA_ASSERT(pathlen < 10000);
}
std::vector<Point> path(pathlen);