[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25453] trunk/blender/source/blender/ editors/sculpt_paint/paint_ops.c: Wrong brush index for tenth brush ( key is 0, brush index is 9, fun stuff)

Martin Poirier theeth at yahoo.com
Thu Dec 17 22:20:18 CET 2009


Revision: 25453
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25453
Author:   theeth
Date:     2009-12-17 22:20:18 +0100 (Thu, 17 Dec 2009)

Log Message:
-----------
Wrong brush index for tenth brush (key is 0, brush index is 9, fun stuff)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c	2009-12-17 20:01:02 UTC (rev 25452)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c	2009-12-17 21:20:18 UTC (rev 25453)
@@ -173,7 +173,7 @@
 	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)





More information about the Bf-blender-cvs mailing list