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:
authorAntony Riakiotakis <kalast@gmail.com>2015-01-06 14:17:06 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-01-06 14:17:06 +0300
commit4b586895f272494c757e013691ee7c4a45b2d3a4 (patch)
tree7f0db81a918c9977c32be20e15d6fdee872402dd /release/scripts/startup/bl_ui/space_sequencer.py
parenta922be9270496de95b8c8a4ec7923dd0cb50f184 (diff)
Expose viewer panels also when backdrop is active. Allows to select
proxy size, render type etc.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index f59d4e8d980..66b3cbe73d9 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -446,7 +446,8 @@ class SequencerButtonsPanel_Output():
@staticmethod
def has_preview(context):
- return (context.space_data.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'})
+ st = context.space_data
+ return (st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}) or st.show_backdrop
@classmethod
def poll(cls, context):