Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-11-06 16:44:51 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-11-06 16:44:51 +0400
commitb91e841f8fa1af0d378870c614880d1b06cc9143 (patch)
treeaa6a26fcbb647bd94b1e0a533f0bffe90918d6bc /source/blender/makesdna/DNA_node_types.h
parentb9aa637b83e79d09781a351a956a60b545a7cec9 (diff)
Fix #37333: Bad default value in Color Balance. Use independent offset/power/slope variables for the CDL mode in color balance node. This avoids stupid default values in particular for offset, which would be 1 when just using the lift value for it.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 4ce4f6010b6..a4510dd23fd 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -677,12 +677,12 @@ typedef struct NodeLensDist {
} NodeLensDist;
typedef struct NodeColorBalance {
- /* for processing */
+ /* ASC CDL parameters */
float slope[3];
float offset[3];
float power[3];
- /* for ui representation */
+ /* LGG parameters */
float lift[3];
float gamma[3];
float gain[3];