From b35cc1a8aa65c54430b9316637447b33d68cdd8c Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 14 Jul 2008 21:43:10 +0000 Subject: fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when editing second subpath when first subpath was closed.) (bzr r6309) --- src/livarot/PathCutting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/livarot/PathCutting.cpp') 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); } -- cgit v1.2.3