[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44159] trunk/blender/release/scripts/ startup/bl_ui/space_view3d.py: Bugfix: update the sculpt menu to use the correct path to the unified paint settings .

Nicholas Bishop nicholasbishop at gmail.com
Thu Feb 16 17:33:51 CET 2012


Revision: 44159
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44159
Author:   nicholasbishop
Date:     2012-02-16 16:33:50 +0000 (Thu, 16 Feb 2012)
Log Message:
-----------
Bugfix: update the sculpt menu to use the correct path to the unified paint settings.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_view3d.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-02-16 15:55:23 UTC (rev 44158)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-02-16 16:33:50 UTC (rev 44159)
@@ -1152,8 +1152,9 @@
         layout.prop(sculpt, "show_brush")
 
         # TODO, make available from paint menu!
-        layout.prop(toolsettings, "sculpt_paint_use_unified_size", text="Unify Size")
-        layout.prop(toolsettings, "sculpt_paint_use_unified_strength", text="Unify Strength")
+        ups = context.tool_settings.unified_paint_settings
+        layout.prop(ups, "use_unified_size")
+        layout.prop(ups, "use_unified_strength")
 
 # ********** Particle menu **********
 




More information about the Bf-blender-cvs mailing list