diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:37:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:37:34 +0300 |
commit | 5c9c50e13bf9a9ce9f5f2f642ea692c8ce4aa331 (patch) | |
tree | 6ac822502d6189e4a1f45d01d54a3a3e1dde8004 /release | |
parent | f12ef1202143a9722d806c49e172c782babdbd78 (diff) |
change the scene opengl sequence rendering to be a global option with rendering and scrubbing settings.
still need to do a do_versions for this to work right without changing settings.
(commit 27442 by Campbell from render25 branch)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_sequencer.py | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/release/scripts/ui/space_sequencer.py b/release/scripts/ui/space_sequencer.py index 0bf86642b25..2eb889d2c1d 100644 --- a/release/scripts/ui/space_sequencer.py +++ b/release/scripts/ui/space_sequencer.py @@ -361,6 +361,28 @@ class SEQUENCER_PT_edit(SequencerButtonsPanel): col.prop(strip, "end_still", text="End") +class SEQUENCER_PT_preview(bpy.types.Panel): + bl_label = "Scene Preview/Render" + bl_space_type = 'SEQUENCE_EDITOR' + bl_region_type = 'UI' + + def draw(self, context): + layout = self.layout + render = context.scene.render + + col = layout.column() + col.prop(render, "use_sequencer_gl_preview", text="Open GL Preview") + col = layout.column() + col.active = render.use_sequencer_gl_preview + col.prop(render, "sequencer_gl_preview", text="") + + col = layout.column() + col.prop(render, "use_sequencer_gl_render", text="Open GL Render") + col = layout.column() + col.active = render.use_sequencer_gl_render + col.prop(render, "sequencer_gl_render", text="") + + class SEQUENCER_PT_effect(SequencerButtonsPanel): bl_label = "Effect Strip" @@ -621,8 +643,6 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel): layout.label(text="Camera Override") layout.template_ID(strip, "scene_camera") - layout.prop(strip, "use_opengl") - class SEQUENCER_PT_filter(SequencerButtonsPanel): bl_label = "Filter" @@ -731,6 +751,7 @@ classes = [ SEQUENCER_MT_strip, SEQUENCER_PT_edit, # sequencer panels + SEQUENCER_PT_preview, SEQUENCER_PT_effect, SEQUENCER_PT_input_movie, SEQUENCER_PT_input_image, |