From 6a4ee88324ba24e43252ff3ef26836106d6eeaf0 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 3 Aug 2008 02:59:51 +0000 Subject: [PATCH] hopefully fixed last error in nodepath... --- src/nodepath.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.30.2