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:
authorCampbell Barton <ideasman42@gmail.com>2012-03-30 03:33:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-30 03:33:50 +0400
commit9e497291ee7164a4aa8c4f3e24ac9d2c52fc60c5 (patch)
tree0f12649cbc91775ce5fd95c284dcfba617963661 /release/scripts/startup/bl_ui/space_sequencer.py
parent1652e459b64757f0a086d2cb3f32be69ad864019 (diff)
support for opengl rendering in the sequencer (header icons as with 3D view).
while opengl could be used for display you couldn't output it to a file. extended the existing opengl render operator to optionally take input from the sequencer. notes: - doesn't redraw in the viewport yet (only output in terminal) - doesn't do OSA
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 53d87323d78..c66f6145db1 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -75,6 +75,13 @@ class SEQUENCER_HT_header(Header):
row.prop(ed, "overlay_frame", text="")
row.prop(ed, "overlay_lock", text="", icon='LOCKED')
+ 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()