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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-28 18:46:43 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-28 18:46:43 +0400
commit74a30d91d20531dc257179362654ec205ca6894c (patch)
treea1806b593eb08e29df3b65df56a6749d63a17913 /intern
parentc2dfcd9208a6afe03b108e682cc4d47fadb5f2bf (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.py6
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'