diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-18 00:20:18 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-18 00:20:18 +0300 |
commit | 0688ea5b73ff7c125747aa032b9379e07b243899 (patch) | |
tree | 20c62f6fb3812c5027076b029721f276d0d1bbb8 /source | |
parent | e210551a9c263d4dd4bf09b8fc2d135ffa5a634e (diff) |
Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index ae694ed863b..a54c2b71ee7 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -173,7 +173,7 @@ static void ed_keymap_paint_brush_switch(wmKeyMap *keymap, const char *path) RNA_int_set(kmi->ptr, "value", 8); kmi= WM_keymap_add_item(keymap, "WM_OT_context_set_int", ZEROKEY, KM_PRESS, 0, 0); RNA_string_set(kmi->ptr, "path", path); - RNA_int_set(kmi->ptr, "value", 10); + RNA_int_set(kmi->ptr, "value", 9); } void ED_keymap_paint(wmKeyConfig *keyconf) |