diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-24 17:25:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-24 17:27:02 +0400 |
commit | fab96b59133fee78b6c2e5ad3d5bc74d3d3bf4d5 (patch) | |
tree | a9974ca9358eaf413827b548640c711e7520a56c /intern/cycles/blender | |
parent | 1e096852bf38f8d7b9bdb93d9a5f1e585b87db05 (diff) |
UI List: remove separate name text fields.
It was never the intention to have these separate, and now that we can rename
directly in the list there is no more need for them.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index cbf26fb8d0a..14e78c4bf1f 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -311,31 +311,6 @@ class CyclesRender_PT_opengl(CyclesButtonsPanel, Panel): col.prop(rd, "alpha_mode", text="") -class CyclesRender_PT_layers(CyclesButtonsPanel, Panel): - bl_label = "Layer List" - bl_context = "render_layer" - bl_options = {'HIDE_HEADER'} - - def draw(self, context): - layout = self.layout - - scene = context.scene - rd = scene.render - rl = rd.layers.active - - row = layout.row() - row.template_list("RENDERLAYER_UL_renderlayers", "", rd, "layers", rd.layers, "active_index", rows=1) - - col = row.column(align=True) - col.operator("scene.render_layer_add", icon='ZOOMIN', text="") - col.operator("scene.render_layer_remove", icon='ZOOMOUT', text="") - - row = layout.row() - if rl: - row.prop(rl, "name") - row.prop(rd, "use_single_layer", text="", icon_only=True) - - class CyclesRender_PT_layer_options(CyclesButtonsPanel, Panel): bl_label = "Layer" bl_context = "render_layer" @@ -1306,6 +1281,7 @@ def get_panels(): types.RENDER_PT_encoding, types.RENDER_PT_dimensions, types.RENDER_PT_stamp, + types.RENDERLAYER_PT_layers, types.SCENE_PT_scene, types.SCENE_PT_color_management, types.SCENE_PT_custom_props, |