From daf6f5f81e241484ea8afc5d70ef3027969e5ac1 Mon Sep 17 00:00:00 2001 From: Thomas Beck Date: Mon, 28 Dec 2015 11:55:14 +0100 Subject: White Balance modifier for the VSE This snippet creates a white balance modifier for the video sequence editor. It is useful for everyone who likes to set a new white point in the video source (easily via the eyedropper). Just select a point in the source file where you know that it should be white. The algorithm will then shift the colors towards your new white point. See attached the image for a quick demo. {F270576} Reviewers: psy-fi Reviewed By: psy-fi Subscribers: Blendify Projects: #bf_blender Differential Revision: https://developer.blender.org/D1698 --- release/scripts/startup/bl_ui/space_sequencer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index c0f58772be3..34a0bacf13b 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1125,7 +1125,9 @@ class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel): col = box.column() col.prop(mod, "bright") col.prop(mod, "contrast") - + elif mod.type == 'WHITE_BALANCE': + col = box.column() + col.prop(mod, "white_value") class SEQUENCER_PT_grease_pencil(GreasePencilDataPanel, SequencerButtonsPanel_Output, Panel): bl_space_type = 'SEQUENCE_EDITOR' -- cgit v1.2.3