Code

Pen tool in paraxial mode: Fix automatic selection of the correct paraxial direction...
authorDiederik van Lierop <mailat-signdiedenrezidotnl>
Sat, 27 Feb 2010 20:53:58 +0000 (21:53 +0100)
committerDiederik van Lierop <mailat-signdiedenrezidotnl>
Sat, 27 Feb 2010 20:53:58 +0000 (21:53 +0100)
src/pen-context.cpp

index 6e545be9d77cfcbaa5ace9b4019f8c151394a580..30c1e0ea9f1d9eb850ff2432127a174a7b64f288 100644 (file)
@@ -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;