Code

fixed part 2 of bug #168372
authorspeleo3 <speleo3@users.sourceforge.net>
Sun, 14 Dec 2008 11:00:28 +0000 (11:00 +0000)
committerspeleo3 <speleo3@users.sourceforge.net>
Sun, 14 Dec 2008 11:00:28 +0000 (11:00 +0000)
src/nodepath.cpp

index f284d818e85111c2d984c788ecdeeb62352f4ae1..add070d1f8b31571bc70ef390278eaa5911911dc 100644 (file)
@@ -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);