Commit: 4b586895f272494c757e013691ee7c4a45b2d3a4
Author: Antony Riakiotakis
Date: Tue Jan 6 12:17:06 2015 +0100
Branches: master
https://developer.blender.org/rB4b586895f272494c757e013691ee7c4a45b2d3a4
Expose viewer panels also when backdrop is active. Allows to select
proxy size, render type etc.
===================================================================
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 f59d4e8..66b3cbe 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):
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs