diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-19 17:53:43 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-19 17:54:55 +0300 |
commit | 52f07ad7248b4c6e947153aea87be3e6b917dd17 (patch) | |
tree | fec1c20b0ca7dc8fe7f8b1fdb28a0600654545b7 /release | |
parent | 70c690c6e49b41ca83ebfc9f24b9c053d7e9f475 (diff) |
Sequencer: Implement Tone Map strip modifier
Behaves same exact way as compositor node, but could be applied
in the sequencer and used as a grading tool.
Requested by the Nieve project artists.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index b0b22f78a70..260919b0857 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1127,6 +1127,18 @@ class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel): elif mod.type == 'WHITE_BALANCE': col = box.column() col.prop(mod, "white_value") + elif mod.type == 'TONEMAP': + col = box.column() + col.prop(mod, "tonemap_type") + if mod.tonemap_type == 'RD_PHOTORECEPTOR': + col.prop(mod, "intensity") + col.prop(mod, "contrast") + col.prop(mod, "adaptation") + col.prop(mod, "correction") + elif mod.tonemap_type == 'RH_SIMPLE': + col.prop(mod, "key") + col.prop(mod, "offset") + col.prop(mod, "gamma") class SEQUENCER_PT_grease_pencil(GreasePencilDataPanel, SequencerButtonsPanel_Output, Panel): bl_space_type = 'SEQUENCE_EDITOR' |