Commit: 9921e72b725ea2d902e474500b4d59339057c75b
Author: Joshua Leung
Date:   Sat Oct 11 11:36:27 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB9921e72b725ea2d902e474500b4d59339057c75b

Trying a different keymap to get these to all play nicely together

* Eraser is now:    D Ctrl RMB
* Draw poly is now: D Alt LMB

For reference, the others are:
* Freehand Drawing: D LMB
* Line Drawing:     D CTRL LMB

* Select Point Single: D RMB
* Select Point Extend: D Shift RMB

===================================================================

M       source/blender/editors/gpencil/gpencil_ops.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_ops.c 
b/source/blender/editors/gpencil/gpencil_ops.c
index 70d1f56..c4e6d86 100644
--- a/source/blender/editors/gpencil/gpencil_ops.c
+++ b/source/blender/editors/gpencil/gpencil_ops.c
@@ -64,11 +64,11 @@ void ED_keymap_gpencil(wmKeyConfig *keyconf)
        RNA_enum_set(kmi->ptr, "mode", GP_PAINTMODE_DRAW_STRAIGHT);
        
        /* draw - poly lines */
-       kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_draw", RIGHTMOUSE, 
KM_PRESS, KM_CTRL, DKEY);
+       kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_draw", LEFTMOUSE, 
KM_PRESS, KM_ALT, DKEY);
        RNA_enum_set(kmi->ptr, "mode", GP_PAINTMODE_DRAW_POLY);
        
        /* erase */
-       kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_draw", XKEY, KM_PRESS, 0, 
DKEY);
+       kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_draw", RIGHTMOUSE, 
KM_PRESS, KM_CTRL, DKEY);
        RNA_enum_set(kmi->ptr, "mode", GP_PAINTMODE_ERASER);
        
        /* Selection ------------------------------------- */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to