[Bf-blender-cvs] [7465a94b8e8] PSketch-279: Experimental Keymaps Tweak: Just takeover leftmouse completely

Joshua Leung noreply at git.blender.org
Tue May 8 18:02:57 CEST 2018


Commit: 7465a94b8e8ced84108a97ba841960dead32397d
Author: Joshua Leung
Date:   Sun Dec 24 16:11:29 2017 +1300
Branches: PSketch-279
https://developer.blender.org/rB7465a94b8e8ced84108a97ba841960dead32397d

Experimental Keymaps Tweak: Just takeover leftmouse completely

Since it's mostly just me using this atm, I rarely use the 3d cursor,
and it's too hard remembering the vkey hotkey after a long break,
let's just do this.

(Maybe we should just go for a dedicated "Sculpt Mode" actually,
then this can be the default...)

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

M	source/blender/editors/armature/armature_ops.c

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

diff --git a/source/blender/editors/armature/armature_ops.c b/source/blender/editors/armature/armature_ops.c
index 1972c8a4aeb..0b281c9d09a 100644
--- a/source/blender/editors/armature/armature_ops.c
+++ b/source/blender/editors/armature/armature_ops.c
@@ -519,10 +519,10 @@ void ED_keymap_armature(wmKeyConfig *keyconf)
 	WM_keymap_add_item(keymap, "POSE_OT_sketch_direct_interactive", LEFTMOUSE, KM_PRESS, 0, EKEY);
 	
 	/* Sculpting - Apply effects... */
-	kmi = WM_keymap_add_item(keymap, "POSE_OT_brush_paint", LEFTMOUSE, KM_PRESS,        0, VKEY);
+	kmi = WM_keymap_add_item(keymap, "POSE_OT_brush_paint", LEFTMOUSE, KM_PRESS,        0, 0); //VKEY);
 	RNA_boolean_set(kmi->ptr, "invert", false);
 	
-	kmi = WM_keymap_add_item(keymap, "POSE_OT_brush_paint", LEFTMOUSE, KM_PRESS, KM_SHIFT, VKEY);
+	kmi = WM_keymap_add_item(keymap, "POSE_OT_brush_paint", LEFTMOUSE, KM_PRESS, KM_SHIFT, 0); //VKEY);
 	RNA_boolean_set(kmi->ptr, "invert", true);
 	
 	/* Sculpting - Reset */



More information about the Bf-blender-cvs mailing list