[Bf-blender-cvs] [3d59be3] master: Sequencer: expose GL preview alpha in scene UI
Campbell Barton
noreply at git.blender.org
Fri Mar 18 10:05:07 CET 2016
Commit: 3d59be3001c5c4ca3763d8b1bed81aeaefd2c97f
Author: Campbell Barton
Date: Fri Mar 18 20:03:24 2016 +1100
Branches: master
https://developer.blender.org/rB3d59be3001c5c4ca3763d8b1bed81aeaefd2c97f
Sequencer: expose GL preview alpha in scene UI
While this isn't essential, accessing this setting required navigating to each scene and using render menu.
Expose in sequencer UI for more convenient access.
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index fbbcae5..3876384 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -866,6 +866,14 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel, Panel):
if scene:
layout.prop(scene, "audio_volume", text="Audio Volume")
+ if not strip.use_sequence:
+ if scene:
+ # Warning, this is not a good convention to follow.
+ # Expose here because setting the alpha from the 'Render' menu is very inconvenient.
+ layout.label("Preview")
+ layout.prop(scene.render, "alpha_mode")
+
+ if scene:
sta = scene.frame_start
end = scene.frame_end
layout.label(text=iface_("Original frame range: %d-%d (%d)") % (sta, end, end - sta + 1), translate=False)
More information about the Bf-blender-cvs
mailing list