diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-24 13:07:04 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-24 13:07:04 +0400 |
commit | 501efb0e7cb671cfa2e0dd37308ab6759f32cb49 (patch) | |
tree | dbdc6fb52c48447dfdeb8f0e411f1a89e517739e /release | |
parent | 93d89ec7683af9daf989fa643be3edceb1615ba1 (diff) |
Sequencer: bright/contrast modifier
Behaves in exactly the same way as bright/contrast compositor node.
Some code could be de-duplicated, like contrast formula and mask
influence, but wouldn't call it stopper for commit since it's
already needed for grading Mango.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 25054a6baa6..ebc73752aef 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -930,6 +930,10 @@ class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel): box.template_curve_mapping(mod, "curve_mapping", type='COLOR') elif mod.type == 'HUE_CORRECT': box.template_curve_mapping(mod, "curve_mapping", type='HUE') + elif mod.type == 'BRIGHT_CONTRAST': + col = box.column() + col.prop(mod, "bright") + col.prop(mod, "contrast") if __name__ == "__main__": # only for live edit. |