[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29915] branches/soc-2010-jwilkins/release /scripts/ui/space_view3d_toolbar.py: * overlay alpha would be active if show overlay was selected even if the mode wasn 't TILED

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jul 4 10:27:23 CEST 2010


Revision: 29915
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29915
Author:   jwilkins
Date:     2010-07-04 10:27:23 +0200 (Sun, 04 Jul 2010)

Log Message:
-----------
* overlay alpha would be active if show overlay was selected even if the mode wasn't TILED

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-07-04 07:52:51 UTC (rev 29914)
+++ branches/soc-2010-jwilkins/release/scripts/ui/space_view3d_toolbar.py	2010-07-04 08:27:23 UTC (rev 29915)
@@ -848,7 +848,7 @@
 
             col = row.column()
             col.prop(brush, "texture_overlay_alpha", slider=True, text="Alpha")
-            col.active = brush.use_texture_overlay
+            col.active = tex_slot.map_mode in ('TILED') and brush.use_texture_overlay
 
 
 class VIEW3D_PT_tools_brush_tool(PaintPanel):





More information about the Bf-blender-cvs mailing list