[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43607] trunk/blender/release/scripts/ startup/bl_ui/space_view3d_toolbar.py: Fix for the Sculpt UI ( revert part of 43535 by nicholasbishop)

Thomas Dinges blender at dingto.org
Sun Jan 22 17:29:24 CET 2012


Revision: 43607
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43607
Author:   dingto
Date:     2012-01-22 16:29:10 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
Fix for the Sculpt UI (revert part of 43535 by nicholasbishop)
* Such labels like for "use_space_atten" should not be in the UI, thats too overkill. Toolbar is meant to be small in size. 

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

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2012-01-22 14:44:22 UTC (rev 43606)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2012-01-22 16:29:10 UTC (rev 43607)
@@ -526,9 +526,9 @@
 
                 if brush.use_space and tool != 'SMOOTH':
                     if brush.use_space_atten:
-                        row.prop(brush, "use_space_atten", toggle=True, icon='LOCKED')
+                        row.prop(brush, "use_space_atten", toggle=True, text="", icon='LOCKED')
                     else:
-                        row.prop(brush, "use_space_atten", toggle=True, icon='UNLOCKED')
+                        row.prop(brush, "use_space_atten", toggle=True, text="", icon='UNLOCKED')
 
                 self.prop_unified_strength(row, context, brush, "strength", text="Strength")
                 self.prop_unified_strength(row, context, brush, "use_pressure_strength")



More information about the Bf-blender-cvs mailing list