diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-16 14:03:39 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-16 14:03:39 +0400 |
commit | 61a88bb5975e4df0b0944e8f246b596b5153d061 (patch) | |
tree | 0d19d51cb24e8747cdfeee4aff77e9c902dacf4f /release | |
parent | 680888419d40f36d37d4df5ccdeccd4916f0649d (diff) |
Bugfix: z-offset for materials was not added back yet.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/buttons_material.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/ui/buttons_material.py b/release/scripts/ui/buttons_material.py index e0e2fc736c0..e38eb583447 100644 --- a/release/scripts/ui/buttons_material.py +++ b/release/scripts/ui/buttons_material.py @@ -202,6 +202,9 @@ class MATERIAL_PT_options(MaterialButtonsPanel): col.itemR(mat, "sky") col.itemR(mat, "exclude_mist") col.itemR(mat, "invert_z") + sub = col.row() + sub.itemR(mat, "z_offset") + sub.active = mat.transparency and mat.transparency_method == 'Z_TRANSPARENCY' sub = col.column(align=True) sub.itemL(text="Light Group:") sub.itemR(mat, "light_group", text="") |