From 7850a392607b4f44e2da6047de1d7e06200760f8 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 14 Jul 2008 21:43:10 +0000 Subject: [PATCH] fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when editing second subpath when first subpath was closed.) --- src/livarot/PathCutting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2