Code

fix error in nodepath
authorjohanengelen <johanengelen@users.sourceforge.net>
Sat, 2 Aug 2008 22:31:05 +0000 (22:31 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sat, 2 Aug 2008 22:31:05 +0000 (22:31 +0000)
src/nodepath.cpp

index ba75c94dc12d7151959e3e8dcd58a0d972cc1348..e2cf1a78d135dc778b43d2bacf25504de97c2d48 100644 (file)
@@ -528,7 +528,7 @@ static void subpaths_from_pathvector(Inkscape::NodePath::Path *np, Geom::PathVec
         NR::Point ppos = from_2geom(pit->initialPoint()) * np->i2d;
         NRPathcode pcode = NR_MOVETO;
 
-        for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end_open(); ++cit) {
+        for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end_closed(); ++cit) {
             add_curve_to_subpath(np, sp, *cit, t, i, ppos, pcode);
         }