diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-13 13:28:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-13 13:28:01 +0400 |
commit | 291c99c5d9fd25e69a17a150ee86d3261987cf34 (patch) | |
tree | e2749395b6ea4875c315fb6cf90b0ce8dd6c71e8 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | ef76dfd591f2643a86bf0f92f282f95724ca2fa7 (diff) |
- saturation option for sequencer strips, runs before multiply and color balance.
- multiply of 0.0 wasnt being applied.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 9e00dc26008..f46efb675ca 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -992,6 +992,13 @@ static void rna_def_filter_video(StructRNA *srna) RNA_def_property_ui_text(prop, "Multiply Colors", ""); RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update"); + prop= RNA_def_property(srna, "color_saturation", PROP_FLOAT, PROP_UNSIGNED); + RNA_def_property_float_sdna(prop, NULL, "sat"); + RNA_def_property_range(prop, 0.0f, 20.0f); + RNA_def_property_ui_range(prop, 0.0f, 2.0f, 3, 3); + RNA_def_property_ui_text(prop, "Saturation", ""); + RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update"); + prop= RNA_def_property(srna, "strobe", PROP_FLOAT, PROP_NONE); RNA_def_property_range(prop, 1.0f, 30.0f); RNA_def_property_ui_text(prop, "Strobe", "Only display every nth frame"); |