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
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-09-22 21:40:08 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-09-22 21:40:08 +0400
commitbb1987edd6f0dfea161654de3dcbe5f2c36f3cd3 (patch)
tree7b27cb78aa67638b765d0691ad4decb8b47e74e3 /release/scripts
parentfb8ffefd1da40e19b2bff541601aea230781f26e (diff)
More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 6d121f04e23..4a418698e26 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -83,11 +83,11 @@ class SEQUENCER_HT_header(Header):
layout.separator()
layout.operator("sequencer.refresh_all")
- elif st.view_type == 'SEQUENCER_PREVIEW':
- layout.separator()
- layout.operator("sequencer.refresh_all")
- layout.prop(st, "display_channel", text="Channel")
else:
+ if st.view_type == 'SEQUENCER_PREVIEW':
+ layout.separator()
+ layout.operator("sequencer.refresh_all")
+
layout.prop(st, "display_channel", text="Channel")
ed = context.scene.sequence_editor
@@ -101,12 +101,12 @@ class SEQUENCER_HT_header(Header):
row = layout.row()
row.prop(st, "overlay_type", text="")
- row = layout.row(align=True)
- props = row.operator("render.opengl", text="", icon='RENDER_STILL')
- props.sequencer = True
- props = row.operator("render.opengl", text="", icon='RENDER_ANIMATION')
- props.animation = True
- props.sequencer = True
+ row = layout.row(align=True)
+ props = row.operator("render.opengl", text="", icon='RENDER_STILL')
+ props.sequencer = True
+ props = row.operator("render.opengl", text="", icon='RENDER_ANIMATION')
+ props.animation = True
+ props.sequencer = True
layout.template_running_jobs()