diff options
author | Thomas Beck <software@plasmasolutions.de> | 2014-07-22 21:12:34 +0400 |
---|---|---|
committer | Thomas Beck <software@plasmasolutions.de> | 2014-07-22 21:12:34 +0400 |
commit | c2ef52c5e80bbb157920f3fb252776d246d17cf9 (patch) | |
tree | 3580cf396c4be908c5fd299c654cc9140614d84e /source/blender/editors/sculpt_paint/paint_ops.c | |
parent | 5215ab0acf45a474eda4140a5d0d5bc5000b4b07 (diff) |
Tiny change for gsoc paint curve drawing: numpad enter now draws the curve too.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_ops.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index be783ac7ba7..d999aa7b0d4 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); |