[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29705] branches/soc-2010-jwilkins/release /scripts/ui/space_view3d_toolbar.py: * Collapsed the tool selection into a listbox so that it becomes less of a tempting target to mess up your brush presets .

Jason Wilkins Jason.A.Wilkins at gmail.com
Sat Jun 26 13:44:57 CEST 2010


Revision: 29705
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29705
Author:   jwilkins
Date:     2010-06-26 13:44:57 +0200 (Sat, 26 Jun 2010)

Log Message:
-----------
* Collapsed the tool selection into a listbox so that it becomes less of a tempting target to mess up your brush presets.

Modified Paths:
--------------
    branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py

Modified: branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py
===================================================================
--- branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py	2010-06-26 11:19:25 UTC (rev 29704)
+++ branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py	2010-06-26 11:44:57 UTC (rev 29705)
@@ -559,8 +559,8 @@
                 row = col.row(align=True)
                 row.prop(brush, "use_size_pressure", toggle=True, text="Size")
 
-            if brush.sculpt_tool in ('SNAKE_HOOK', 'THUMB'):
-                row.prop(brush, "use_strength_pressure", toggle=True, text="Strength")
+                if brush.sculpt_tool in ('SNAKE_HOOK', 'THUMB'):
+                    row.prop(brush, "use_strength_pressure", toggle=True, text="Strength")
 
             if brush.sculpt_tool not in ('GRAB', 'THUMB', 'SNAKE_HOOK', 'ROTATE'):
                 row.prop(brush, "use_size_pressure", toggle=True, text="")
@@ -746,7 +746,7 @@
         col = layout.column(align=True)
 
         if context.sculpt_object:
-            col.prop(brush, "sculpt_tool", expand=True)
+            col.prop(brush, "sculpt_tool", expand=False)
         elif context.texture_paint_object:
             col.prop(brush, "imagepaint_tool", expand=True)
             #col.prop_enum(settings, "tool", 'DRAW')





More information about the Bf-blender-cvs mailing list