summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index f284d818e..add070d1f 100644
--- 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);