diff options
author | William Reynish <billrey@me.com> | 2019-05-17 14:27:21 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-17 14:27:21 +0300 |
commit | cf433caa890f5e6a2d4c50c3caa89d3662cb40c8 (patch) | |
tree | afdc41466a5c8a8a1fff4c71156a4245b92ff22d /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 77f92b8cb73c0d46838749aae7836c60cff09db9 (diff) |
UI: Put Sequencer Proxy & Cache panels back into separate category
This works better, because some things are global for the scene and others are per strip
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index dd183f140bf..1bb04150375 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1449,24 +1449,9 @@ class SEQUENCER_PT_adjust_color(SequencerButtonsPanel, Panel): col.prop(strip, "use_float", text="Convert to Float") -class SEQUENCER_PT_proxy_cache(SequencerButtonsPanel, Panel): - bl_label = "Proxy & Cache" - bl_category = "Strip" - bl_options = {'DEFAULT_CLOSED'} - - @classmethod - def poll(cls, context): - return cls.has_sequencer(context) - - def draw(self, context): - pass - - class SEQUENCER_PT_cache_settings(SequencerButtonsPanel, Panel): bl_label = "Cache Settings" - bl_category = "Strip" - bl_options = {'DEFAULT_CLOSED'} - bl_parent_id = "SEQUENCER_PT_proxy_cache" + bl_category = "Proxy & Cache" @classmethod def poll(cls, context): @@ -1486,9 +1471,7 @@ class SEQUENCER_PT_cache_settings(SequencerButtonsPanel, Panel): class SEQUENCER_PT_proxy_settings(SequencerButtonsPanel, Panel): bl_label = "Proxy & Timecode" - bl_category = "Strip" - bl_options = {'DEFAULT_CLOSED'} - bl_parent_id = "SEQUENCER_PT_proxy_cache" + bl_category = "Proxy & Cache" @classmethod def poll(cls, context): @@ -1560,9 +1543,8 @@ class SEQUENCER_PT_proxy_settings(SequencerButtonsPanel, Panel): class SEQUENCER_PT_strip_cache(SequencerButtonsPanel, Panel): bl_label = "Strip Cache" - bl_category = "Strip" + bl_category = "Proxy & Cache" bl_options = {'DEFAULT_CLOSED'} - bl_parent_id = "SEQUENCER_PT_proxy_cache" @classmethod def poll(cls, context): @@ -1824,7 +1806,6 @@ classes = ( SEQUENCER_PT_scene, SEQUENCER_PT_mask, - SEQUENCER_PT_proxy_cache, SEQUENCER_PT_cache_settings, SEQUENCER_PT_proxy_settings, SEQUENCER_PT_strip_cache, |