[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29592] branches/soc-2010-jwilkins/release /scripts/ui/space_view3d_toolbar.py: Made sure all the same UI controls appear for Clay and Wax.

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Jun 21 13:43:29 CEST 2010


Revision: 29592
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29592
Author:   jwilkins
Date:     2010-06-21 13:43:28 +0200 (Mon, 21 Jun 2010)

Log Message:
-----------
Made sure all the same UI controls appear for Clay and Wax.

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-21 11:39:11 UTC (rev 29591)
+++ branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py	2010-06-21 11:43:28 UTC (rev 29592)
@@ -588,10 +588,10 @@
                 row.prop(brush, "plane_offset", slider=True)
                 row.prop(brush, "use_offset_pressure", text="")
 
-            if brush.sculpt_tool in ('DRAW', 'PINCH', 'INFLATE', 'LAYER', 'FILL', 'SCRAPE', 'CLAY', 'GRAB'):
+            if brush.sculpt_tool in ('DRAW', 'PINCH', 'INFLATE', 'LAYER', 'FILL', 'SCRAPE', 'CLAY', 'WAX', 'GRAB'):
                 col.row().prop(brush, "direction", expand=True)
 
-            if brush.sculpt_tool in ('DRAW', 'INFLATE', 'LAYER', 'CLAY'):
+            if brush.sculpt_tool in ('DRAW', 'INFLATE', 'LAYER', 'CLAY', 'WAX'):
                 col.prop(brush, "use_accumulate")
 
             if brush.sculpt_tool == 'LAYER':
@@ -782,7 +782,7 @@
                 if brush.use_anchor:
                     layout.prop(brush, "edge_to_edge", "Edge To Edge")
             layout.prop(brush, "use_rake")
-            if brush.sculpt_tool in ('DRAW', 'LAYER', 'FLATTEN', 'CLAY', 'FILL', 'SCRAPE'):
+            if brush.sculpt_tool in ('DRAW', 'LAYER', 'FLATTEN', 'CLAY', 'WAX', 'FILL', 'SCRAPE'):
                 layout.prop(brush, "use_original_normal")
                 if brush.use_original_normal:
                     col = layout.column()
@@ -853,7 +853,7 @@
         col.prop(sculpt, "fast_navigate")
         col.prop(sculpt, "use_openmp")
 
-        if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'PINCH'):
+        if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'WAX', 'PINCH'):
             sub = col.column()
             sub.label(text="Color:")
             sub.prop(brush, "add_col", text="Add")





More information about the Bf-blender-cvs mailing list