Expose viewer panels also when backdrop is active. Allows to select
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 6 Jan 2015 11:17:06 +0000 (12:17 +0100)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 6 Jan 2015 11:17:06 +0000 (12:17 +0100)
proxy size, render type etc.

release/scripts/startup/bl_ui/space_sequencer.py

index f59d4e8d980357580e2f6023e117e22a9aaaa677..66b3cbe73d9429e692c3784f625863695bd2f33c 100644 (file)
@@ -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):