diff options
author | Thomas Beck <software@plasmasolutions.de> | 2015-12-28 13:55:14 +0300 |
---|---|---|
committer | Thomas Beck <software@plasmasolutions.de> | 2015-12-28 14:16:48 +0300 |
commit | daf6f5f81e241484ea8afc5d70ef3027969e5ac1 (patch) | |
tree | 723d322d646da66ce8beda142b493652463d9422 /source/blender/editors/space_sequencer/sequencer_modifier.c | |
parent | 225b02fcd66052b1d6dfa4a146798e41c44e0cd4 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_modifier.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_modifier.c b/source/blender/editors/space_sequencer/sequencer_modifier.c index 5d4ea47452e..713e1618e39 100644 --- a/source/blender/editors/space_sequencer/sequencer_modifier.c +++ b/source/blender/editors/space_sequencer/sequencer_modifier.c @@ -71,7 +71,7 @@ static int strip_modifier_add_exec(bContext *C, wmOperator *op) Sequence *seq = BKE_sequencer_active_get(scene); int type = RNA_enum_get(op->ptr, "type"); - BKE_sequence_modifier_new(seq, NULL, type); + BKE_sequence_modifier_new(seq, NULL, type, scene); BKE_sequence_invalidate_cache(scene, seq); WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene); |