summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31cac99)
raw | patch | inline | side by side (parent: 31cac99)
author | speleo3 <speleo3@users.sourceforge.net> | |
Sun, 14 Dec 2008 11:00:28 +0000 (11:00 +0000) | ||
committer | speleo3 <speleo3@users.sourceforge.net> | |
Sun, 14 Dec 2008 11:00:28 +0000 (11:00 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index f284d818e85111c2d984c788ecdeeb62352f4ae1..add070d1f8b31571bc70ef390278eaa5911911dc 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -1065,6 +1065,9 @@ static void sp_nodepath_set_line_type(Inkscape::NodePath::Node *end, NRPathcode
if (end->type == Inkscape::NodePath::NODE_AUTO)
end->type = Inkscape::NodePath::NODE_SMOOTH;
+ start->n.pos = start->pos;
+ end->p.pos = end->pos;
+
sp_node_adjust_handle(start, -1);
sp_node_adjust_handle(end, 1);