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
committerCampbell Barton <ideasman42@gmail.com>2016-03-18 12:05:08 +0300
commit3d59be3001c5c4ca3763d8b1bed81aeaefd2c97f (patch)
tree92147905d65e8952df2f5263c49cdc71d061c20d /release
parentcc12fc1f118c0921cd399a25456ea44a9f330bc2 (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.
Diffstat (limited to 'release')
-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 fbbcae592bb..387638404fd 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)