[Bf-blender-cvs] [fc37440] blender-v2.77-release: Sequencer: expose GL preview alpha in scene UI
Campbell Barton
noreply at git.blender.org
Fri Mar 18 12:15:39 CET 2016
Commit: fc3744021675e41f7c943998b9ec38c1350e2f19
Author: Campbell Barton
Date: Fri Mar 18 20:03:24 2016 +1100
Branches: blender-v2.77-release
https://developer.blender.org/rBfc3744021675e41f7c943998b9ec38c1350e2f19
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 0819d2b..c6a9648 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -848,6 +848,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