* ui fix for texture influences
authorMatt Ebb <matt@mke3.net>
Tue, 13 Oct 2009 02:04:08 +0000 (02:04 +0000)
committerMatt Ebb <matt@mke3.net>
Tue, 13 Oct 2009 02:04:08 +0000 (02:04 +0000)
release/scripts/ui/buttons_texture.py

index 5efdaf778395ba9f326498e0c54eacbe79893147..0313a98674940d3e60d3cfb567a6675b531b0b7a 100644 (file)
@@ -262,7 +262,7 @@ class TEXTURE_PT_influence(TextureSlotPanel):
                                #sub = col.column()
                                #sub.active = tex.map_translucency or tex.map_emit or tex.map_alpha or tex.map_raymir or tex.map_hardness or tex.map_ambient or tex.map_specularity or tex.map_reflection or tex.map_mirror
                                #sub.itemR(tex, "default_value", text="Amount", slider=True)
-                       elif ma.type == 'VOLUME':
+                       elif idblock.type == 'VOLUME':
                                split = layout.split()
                                
                                col = split.column()