Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff)

This commit is contained in:
Martin Poirier
2009-12-17 21:20:18 +00:00
parent e210551a9c
commit 0688ea5b73

View File

@@ -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)