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>2016-03-18 12:03:24 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-18 13:44:39 +0300
commitfc3744021675e41f7c943998b9ec38c1350e2f19 (patch)
tree1e444ffd56b91584d3cfa8e902903cb77aa090af
parent6f49d970e0e10e8e0666abd1c547689c1b8ad5d7 (diff)
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.
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 0819d2b34b6..c6a9648cd1b 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)