From 593b88d6ac850db9107f9b1c9fae04319fef04df Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sat, 27 Feb 2010 21:53:58 +0100 Subject: [PATCH] Pen tool in paraxial mode: Fix automatic selection of the correct paraxial direction after deleting the last node --- src/pen-context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 6e545be9d..30c1e0ea9 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1169,6 +1169,7 @@ pen_handle_key_press(SPPenContext *const pc, GdkEvent *event) sp_canvas_item_hide(pc->cl1); pc->state = SP_PEN_CONTEXT_POINT; spdc_pen_set_subsequent_point(pc, pt, true); + pen_last_paraxial_dir = !pen_last_paraxial_dir; ret = TRUE; } break; -- 2.30.2