summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathCutting.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-14 21:43:10 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-14 21:43:10 +0000
commitb35cc1a8aa65c54430b9316637447b33d68cdd8c (patch)
tree769f662ab2a26a8ee8bfd98be2ce3e4586bfa36c /src/livarot/PathCutting.cpp
parentcomplete 2geomifying subpath adding in nodepath (diff)
downloadinkscape-b35cc1a8aa65c54430b9316637447b33d68cdd8c.tar.gz
inkscape-b35cc1a8aa65c54430b9316637447b33d68cdd8c.zip
fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when editing second subpath when first subpath was closed.)
(bzr r6309)
Diffstat (limited to 'src/livarot/PathCutting.cpp')
-rw-r--r--src/livarot/PathCutting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp
index 99a8713b3..da5ca4145 100644
--- a/src/livarot/PathCutting.cpp
+++ b/src/livarot/PathCutting.cpp
@@ -428,7 +428,7 @@ void Path::LoadPath(Geom::Path const &path, Geom::Matrix const &tr, bool doTran
MoveTo( from_2geom(pathtr.initialPoint()) );
- for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end_open(); ++cit) {
+ for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end_default(); ++cit) {
AddCurve(*cit);
}