diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-11 18:37:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-11 18:37:58 +0400 |
commit | a794e19346ab6ee30e14e8175c153b03fa6cb7a5 (patch) | |
tree | 611279ea79071664c525cc978758b92758b652a5 /release | |
parent | be4ae581fff820cefc21d150080e13f621b99cdd (diff) |
Sequencer: support for masked color balance
This implements option which could be used to color balance only
specified area. Currently done by adding Mask input to Adjustment
effect. Affects on color balance and multiply settings.
Supporting masked saturation control is in the list, not supported
in this commit.
Also show value slider in the right of color wheel.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 77789496a15..7b0715f4b41 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -423,18 +423,24 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel): return strip.type in {'ADD', 'SUBTRACT', 'ALPHA_OVER', 'ALPHA_UNDER', 'CROSS', 'GAMMA_CROSS', 'MULTIPLY', 'OVER_DROP', 'WIPE', 'GLOW', 'TRANSFORM', 'COLOR', 'SPEED', - 'MULTICAM'} + 'MULTICAM', 'ADJUSTMENT'} def draw(self, context): layout = self.layout + sequencer = context.scene.sequence_editor strip = act_strip(context) + if strip.input_count > 0: col = layout.column() col.prop(strip, "input_1") if strip.input_count > 1: col.prop(strip, "input_2") + if strip.is_supports_mask: + col = layout.column() + col.prop_search(strip, "input_mask", sequencer, "sequences") + if strip.type == 'COLOR': layout.prop(strip, "color") @@ -765,21 +771,21 @@ class SEQUENCER_PT_filter(SequencerButtonsPanel, Panel): if strip.use_color_balance and strip.color_balance: # TODO - need to add this somehow col = layout.column() col.label(text="Lift:") - col.template_color_wheel(strip.color_balance, "lift", value_slider=False, cubic=True) + col.template_color_wheel(strip.color_balance, "lift", value_slider=True, cubic=True) row = col.row() row.prop(strip.color_balance, "lift", text="") row.prop(strip.color_balance, "invert_lift", text="Inverse") col = layout.column() col.label(text="Gamma:") - col.template_color_wheel(strip.color_balance, "gamma", value_slider=False, lock_luminosity=True, cubic=True) + col.template_color_wheel(strip.color_balance, "gamma", value_slider=True, lock_luminosity=True, cubic=True) row = col.row() row.prop(strip.color_balance, "gamma", text="") row.prop(strip.color_balance, "invert_gamma", text="Inverse") col = layout.column() col.label(text="Gain:") - col.template_color_wheel(strip.color_balance, "gain", value_slider=False, lock_luminosity=True, cubic=True) + col.template_color_wheel(strip.color_balance, "gain", value_slider=True, lock_luminosity=True, cubic=True) row = col.row() row.prop(strip.color_balance, "gain", text="") row.prop(strip.color_balance, "invert_gain", text="Inverse") |