summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d7e285b)
raw | patch | inline | side by side (parent: d7e285b)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 3 Aug 2008 02:59:51 +0000 (02:59 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 3 Aug 2008 02:59:51 +0000 (02:59 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 76fccaf640002cd065d9d135c55ac8b1ea20e751..f2ca1e84c0fe4882432058b1475146e32ab1c9ec 100644 (file)
--- 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<Geom::CubicBezier const*>(&*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;
}