diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-03-24 14:24:30 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-03-24 14:24:54 +0300 |
commit | 7293f6d4863a2f80fa38697f4e55ccdc0aec9e6b (patch) | |
tree | f0ad7563c253d56457fa6ad33c81d2bcbee53a15 /release/scripts/startup | |
parent | 765fd7044b2bb65d844c2c705d30c858d9930da1 (diff) |
Cleanup - move proxy storage options to the proxy itself - also will
enable more storage options, since seq->flag is running out of space
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 0be1bf0b90a..4f83cc03b10 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -915,42 +915,45 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel): strip = act_strip(context) - flow = layout.column_flow() - flow.prop(strip, "use_proxy_custom_directory") - flow.prop(strip, "use_proxy_custom_file") if strip.proxy: - if strip.use_proxy_custom_directory and not strip.use_proxy_custom_file: - flow.prop(strip.proxy, "directory") - if strip.use_proxy_custom_file: - flow.prop(strip.proxy, "filepath") + proxy = strip.proxy + + flow = layout.column_flow() + flow.prop(proxy, "use_proxy_custom_directory") + flow.prop(proxy, "use_proxy_custom_file") + + if proxy.use_proxy_custom_directory and not proxy.use_proxy_custom_file: + flow.prop(proxy, "directory") + if proxy.use_proxy_custom_file: + flow.prop(proxy, "filepath") layout.label("Enabled Proxies:") enabled = "" row = layout.row() - if (strip.proxy.build_25): + if (proxy.build_25): enabled += "25% " - if (strip.proxy.build_50): + if (proxy.build_50): enabled += "50% " - if (strip.proxy.build_75): + if (proxy.build_75): enabled += "75% " - if (strip.proxy.build_100): + if (proxy.build_100): enabled += "100% " row.label(enabled) - if (strip.proxy.use_overwrite): + if (proxy.use_overwrite): layout.label("Overwrite On") else: layout.label("Overwrite Off") col = layout.column() col.label(text="Build JPEG quality") - col.prop(strip.proxy, "quality") + col.prop(proxy, "quality") if strip.type == 'MOVIE': col = layout.column() col.label(text="Use timecode index:") - col.prop(strip.proxy, "timecode") + col.prop(proxy, "timecode") col = layout.column() col.operator("sequencer.enable_proxies") |