[Bf-blender-cvs] [c2ef52c] master: Tiny change for gsoc paint curve drawing: numpad enter now draws the curve too.

Thomas Beck noreply at git.blender.org
Tue Jul 22 19:15:34 CEST 2014


Commit: c2ef52c5e80bbb157920f3fb252776d246d17cf9
Author: Thomas Beck
Date:   Tue Jul 22 19:12:34 2014 +0200
Branches: master
https://developer.blender.org/rBc2ef52c5e80bbb157920f3fb252776d246d17cf9

Tiny change for gsoc paint curve drawing: numpad enter now draws the curve too.

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

M	source/blender/editors/sculpt_paint/paint_ops.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c
index be783ac..d999aa7 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -1271,6 +1271,7 @@ static void paint_keymap_curve(wmKeyMap *keymap)
 	WM_keymap_add_item(keymap, "PAINTCURVE_OT_delete_point", XKEY, KM_PRESS, 0, 0);
 
 	WM_keymap_add_item(keymap, "PAINTCURVE_OT_draw", RETKEY, KM_PRESS, 0, 0);
+	WM_keymap_add_item(keymap, "PAINTCURVE_OT_draw", PADENTER, KM_PRESS, 0, 0);
 
 	WM_keymap_add_item(keymap, "TRANSFORM_OT_translate", GKEY, KM_PRESS, 0, 0);
 	kmi = WM_keymap_add_item(keymap, "TRANSFORM_OT_translate", EVT_TWEAK_S, KM_ANY, 0, 0);




More information about the Bf-blender-cvs mailing list