[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50815] trunk/blender/release/scripts/ startup/bl_ui/space_sequencer.py: More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!

Bastien Montagne montagne29 at wanadoo.fr
Sat Sep 22 19:40:08 CEST 2012


Revision: 50815
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50815
Author:   mont29
Date:     2012-09-22 17:40:08 +0000 (Sat, 22 Sep 2012)
Log Message:
-----------
More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2012-09-22 17:00:02 UTC (rev 50814)
+++ trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2012-09-22 17:40:08 UTC (rev 50815)
@@ -83,11 +83,11 @@
 
             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 @@
                     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()
 




More information about the Bf-blender-cvs mailing list