Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErvin Weber <ervin.weber@gmail.com>2011-03-11 10:59:43 +0300
committerErvin Weber <ervin.weber@gmail.com>2011-03-11 10:59:43 +0300
commit102c5e0ad4db69828efaf66845a00a62a2075fe2 (patch)
tree650d4cb325159913f066a392606231a9697b7e0e /release/scripts/ui/properties_material.py
parentbfe5a6ed8ffb4502aafe20bbb0815b0b4a58d504 (diff)
Diffstat (limited to 'release/scripts/ui/properties_material.py')
-rw-r--r--release/scripts/ui/properties_material.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py
index 5554390e3a8..a8fe05ca110 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -373,11 +373,12 @@ class MATERIAL_PT_transp(MaterialButtonsPanel, bpy.types.Panel):
row.prop(mat, "transparency_method", expand=True)
split = layout.split()
+ split.active = base_mat.use_transparency
col = split.column()
col.prop(mat, "alpha")
row = col.row()
- row.active = base_mat.use_transparency and (not mat.use_shadeless)
+ row.active = (base_mat.transparency_method != 'MASK') and (not mat.use_shadeless)
row.prop(mat, "specular_alpha", text="Specular")
col = split.column()