diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-08-24 11:04:33 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-08-24 11:04:33 +0300 |
commit | b8c9df6f21587014cb6f11aa5bed6f9c1044e6ee (patch) | |
tree | b106ebde0ac8edda4ec69ccc45f494a407bae5c4 /source/blender/makesrna/intern/rna_color.c | |
parent | f029aefe3e051d213292cf0d9be20d5438ca618f (diff) |
Compositor: Added Weighted Standard Curve evaluation
Available in RGB Curve node in the compositor and as modifier in the
sequencer. I reshuffled the values of the enum. But a the first commit
is just 1 day old I think that the order is more important than the file
compatibility.
Diffstat (limited to 'source/blender/makesrna/intern/rna_color.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_color.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index 4cbe365167c..f91be9ae1e9 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -764,8 +764,9 @@ static void rna_def_curvemapping(BlenderRNA *brna) FunctionRNA *func; static const EnumPropertyItem tone_items[] = { - {CURVE_TONE_STANDARD, "STANDARD", 0, "Standard", ""}, - {CURVE_TONE_FILMLIKE, "FILMLIKE", 0, "Film like", ""}, + {CURVE_TONE_STANDARD, "STANDARD", 0, "Standard", ""}, + {CURVE_TONE_WEIGHTED_STANDARD, "WEIGHTED", 0, "Weighted Standard", ""}, + {CURVE_TONE_FILMLIKE, "FILMLIKE", 0, "Film like", ""}, {0, NULL, 0, NULL, NULL} }; |