From: johanengelen Date: Sun, 3 Aug 2008 02:59:51 +0000 (+0000) Subject: hopefully fixed last error in nodepath... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a4ee88324ba24e43252ff3ef26836106d6eeaf0;p=inkscape.git hopefully fixed last error in nodepath... --- diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 76fccaf64..f2ca1e84c 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -534,7 +534,8 @@ static void subpaths_from_pathvector(Inkscape::NodePath::Path *np, Geom::PathVec { NR::Point pos = from_2geom(cit->initialPoint()) * np->i2d; sp_nodepath_node_new(sp, NULL, t[i++], pcode, &ppos, &pos, &pos); - ppos = from_2geom(cit->finalPoint()); + + ppos = from_2geom(cit->finalPoint()) * np->i2d; pcode = NR_LINETO; } else if(Geom::CubicBezier const *cubic_bezier = dynamic_cast(&*cit)) { @@ -542,6 +543,7 @@ static void subpaths_from_pathvector(Inkscape::NodePath::Path *np, Geom::PathVec NR::Point pos = from_2geom(points[0]) * np->i2d; NR::Point npos = from_2geom(points[1]) * np->i2d; sp_nodepath_node_new(sp, NULL, t[i++], pcode, &ppos, &pos, &npos); + ppos = from_2geom(points[2]) * np->i2d; pcode = NR_CURVETO; }