Code

Temporary shortcut for LPEParallel in pen tool
authorcilix42 <cilix42@users.sourceforge.net>
Wed, 18 Jun 2008 02:13:33 +0000 (02:13 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Wed, 18 Jun 2008 02:13:33 +0000 (02:13 +0000)
src/pen-context.cpp

index 6074eaa4b83e42c7e6b6e01692d8258ee3cce805..78baacc76b210d4ac6446fff3f1aae4f0f00695f 100644 (file)
@@ -994,8 +994,7 @@ pen_handle_key_press(SPPenContext *const pc, GdkEvent *event)
         case GDK_P:
         case GDK_p:
             if (MOD__SHIFT_ONLY) {
-                pc->polylines_only = !pc->polylines_only;
-                g_print ("polylines_only mode is now %s\n", pc->polylines_only ? "true" : "false");
+                sp_pen_context_wait_for_LPE_mouse_clicks(pc, Inkscape::LivePathEffect::PARALLEL, 2);
                 ret = TRUE;
             }
             break;