diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-30 17:13:59 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-30 17:13:59 +0300 |
commit | f7e8da6f5a5353c20a229e74d768384b5b1e5794 (patch) | |
tree | 78257a76ad04687fe0d86993487f6b79d2d5f577 /release/scripts | |
parent | 7760e97c6bf5e8b09f99ba8b5ec17db6eb95acf5 (diff) |
Proxy enable operator:
* Enable operator for proxies now becomes set operator for selected and
can unset-set all options.
* Properties become read-only labels, only use operator to set proxies.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index bcf3db57273..834973a9a36 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -924,12 +924,23 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel): if strip.use_proxy_custom_file: flow.prop(strip.proxy, "filepath") + layout.label("Enabled Proxies:") + enabled = "" row = layout.row() - row.prop(strip.proxy, "build_25") - row.prop(strip.proxy, "build_50") - row.prop(strip.proxy, "build_75") - row.prop(strip.proxy, "build_100") - layout.prop(strip.proxy, "use_overwrite") + if (strip.proxy.build_25): + enabled += "25% " + if (strip.proxy.build_50): + enabled += "50% " + if (strip.proxy.build_75): + enabled += "75% " + if (strip.proxy.build_100): + enabled += "100% " + + row.label(enabled) + if (strip.proxy.use_overwrite): + layout.label("Overwrite On") + else: + layout.label("Overwrite Off") col = layout.column() col.label(text="Build JPEG quality") |