[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47851] branches/soc-2012-bratwurst/source /blender/editors/sculpt_paint/paint_ops.c: Add R key to change rotation type for texpaint brushes

Antony Riakiotakis kalast at gmail.com
Wed Jun 13 21:56:19 CEST 2012


Revision: 47851
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47851
Author:   psy-fi
Date:     2012-06-13 19:56:13 +0000 (Wed, 13 Jun 2012)
Log Message:
-----------
Add R key to change rotation type for texpaint brushes

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_ops.c

Modified: branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_ops.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_ops.c	2012-06-13 19:51:31 UTC (rev 47850)
+++ branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_ops.c	2012-06-13 19:56:13 UTC (rev 47851)
@@ -752,6 +752,8 @@
 
 	kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", MKEY, KM_PRESS, 0, 0); /* mask toggle */
 	RNA_string_set(kmi->ptr, "data_path", "image_paint_object.data.use_paint_mask");
+	kmi = WM_keymap_add_item(keymap, "WM_OT_context_menu_enum", RKEY, KM_PRESS, 0, 0);
+	RNA_string_set(kmi->ptr, "data_path", "tool_settings.image_paint.brush.texture_angle_source_random");
 
 	/* face-mask mode */
 	keymap = WM_keymap_find(keyconf, "Face Mask", 0, 0);




More information about the Bf-blender-cvs mailing list