diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-12-28 18:46:43 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-12-28 18:46:43 +0400 |
commit | 74a30d91d20531dc257179362654ec205ca6894c (patch) | |
tree | a1806b593eb08e29df3b65df56a6749d63a17913 /intern | |
parent | c2dfcd9208a6afe03b108e682cc4d47fadb5f2bf (diff) |
Fix cycles python error in some panels, was not updated for new list template yet.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 5253f5789ec..03724c9bb4c 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -231,7 +231,7 @@ class CyclesRender_PT_layers(CyclesButtonsPanel, Panel): rd = scene.render row = layout.row() - row.template_list(rd, "layers", rd.layers, "active_index", rows=2) + row.template_list("RENDER_UL_renderlayers", "", rd, "layers", rd.layers, "active_index", rows=2) col = row.column(align=True) col.operator("scene.render_layer_add", icon='ZOOMIN', text="") @@ -377,7 +377,7 @@ class Cycles_PT_context_material(CyclesButtonsPanel, Panel): if ob: row = layout.row() - row.template_list(ob, "material_slots", ob, "active_material_index", rows=2) + row.template_list("MATERIAL_UL_matslots", "", ob, "material_slots", ob, "active_material_index", rows=2) col = row.column(align=True) col.operator("object.material_slot_add", icon='ZOOMIN', text="") @@ -932,7 +932,7 @@ class CyclesParticle_PT_textures(CyclesButtonsPanel, Panel): part = psys.settings row = layout.row() - row.template_list(part, "texture_slots", part, "active_texture_index", rows=2) + row.template_list("TEXTURE_UL_texslots", "", part, "texture_slots", part, "active_texture_index", rows=2) col = row.column(align=True) col.operator("texture.slot_move", text="", icon='TRIA_UP').type = 'UP' |