From 52f07ad7248b4c6e947153aea87be3e6b917dd17 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 19 Jan 2016 15:53:43 +0100 Subject: 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. --- release/scripts/startup/bl_ui/space_sequencer.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'release') 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' -- cgit v1.2.3