mat/lamp/world.textures -> texture_slots

object.materials -> material_slots

since neither contain textures or materials directly.
This commit is contained in:
2010-02-07 12:51:47 +00:00
parent 3238730e36
commit bb571c67cb
7 changed files with 12 additions and 12 deletions

View File

@@ -98,7 +98,7 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel):
if ob:
row = layout.row()
row.template_list(ob, "materials", ob, "active_material_index", rows=2)
row.template_list(ob, "material_slots", ob, "active_material_index", rows=2)
col = row.column(align=True)
col.operator("object.material_slot_add", icon='ZOOMIN', text="")