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:
authorWilliam Reynish <william@reynish.com>2009-11-12 18:41:44 +0300
committerWilliam Reynish <william@reynish.com>2009-11-12 18:41:44 +0300
commitfbb2c384855214a83ae1a80ff30a0e160f8763cf (patch)
treec0c8b08f7668d3b470ad4b891f58c4649dface4d /release/scripts/ui/properties_material.py
parent17b6dfa49903b3f89e3e825d851f4f74efdf8cb8 (diff)
Implemented single column UI for textures, curve, mesh and empty.
Reverted 24524 materials change because it it made greying out not work correctly.
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 ac2db151424..8cdc53a5094 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -137,7 +137,8 @@ class MATERIAL_PT_shading(MaterialButtonsPanel):
sub.active = not mat.shadeless
sub.itemR(mat, "emit")
sub.itemR(mat, "ambient")
- col.itemR(mat, "translucency")
+ sub = col.column()
+ sub.itemR(mat, "translucency")
if col2:
col = split.column()