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:
authorWilliam Reynish <billrey@me.com>2019-05-17 13:01:45 +0300
committerWilliam Reynish <billrey@me.com>2019-05-17 13:01:45 +0300
commit39a29d843e6b58a873abf6555fad06c55c336cae (patch)
tree9c322e94fee3eac380d9a4161d059259fef20473
parent9c83061b8dbd676431ab41a77f40b82298562eff (diff)
Fix: Add back last Sequencer panel that went missing in 86eefefdc1aa
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 24dba5dc2f7..dd183f140bf 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1558,6 +1558,33 @@ class SEQUENCER_PT_proxy_settings(SequencerButtonsPanel, Panel):
col.operator("sequencer.rebuild_proxy")
+class SEQUENCER_PT_strip_cache(SequencerButtonsPanel, Panel):
+ bl_label = "Strip Cache"
+ bl_category = "Strip"
+ bl_options = {'DEFAULT_CLOSED'}
+ bl_parent_id = "SEQUENCER_PT_proxy_cache"
+
+ @classmethod
+ def poll(cls, context):
+ if not cls.has_sequencer(context):
+ return False
+ if act_strip(context) is not None:
+ return True
+
+ def draw_header(self, context):
+ strip = act_strip(context)
+ self.layout.prop(strip, "override_cache_settings", text="")
+
+ def draw(self, context):
+ layout = self.layout
+ strip = act_strip(context)
+ layout.active = strip.override_cache_settings
+
+ layout.prop(strip, "use_cache_raw")
+ layout.prop(strip, "use_cache_preprocessed")
+ layout.prop(strip, "use_cache_composite")
+
+
class SEQUENCER_PT_preview(SequencerButtonsPanel_Output, Panel):
bl_label = "Scene Preview/Render"
bl_space_type = 'SEQUENCE_EDITOR'
@@ -1800,6 +1827,7 @@ classes = (
SEQUENCER_PT_proxy_cache,
SEQUENCER_PT_cache_settings,
SEQUENCER_PT_proxy_settings,
+ SEQUENCER_PT_strip_cache,
SEQUENCER_PT_custom_props,