From: johanengelen Date: Mon, 14 Jul 2008 21:43:10 +0000 (+0000) Subject: fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7850a392607b4f44e2da6047de1d7e06200760f8;p=inkscape.git fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when editing second subpath when first subpath was closed.) --- 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); }