Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2009-12-18 00:20:18 +0300
committerMartin Poirier <theeth@yahoo.com>2009-12-18 00:20:18 +0300
commit0688ea5b73ff7c125747aa032b9379e07b243899 (patch)
tree20c62f6fb3812c5027076b029721f276d0d1bbb8 /source/blender/editors/sculpt_paint
parente210551a9c263d4dd4bf09b8fc2d135ffa5a634e (diff)
Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff)
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_ops.c2
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)