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:
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r--source/blender/makesdna/DNA_color_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h
index 4f860e16b88..fe158f85cd9 100644
--- a/source/blender/makesdna/DNA_color_types.h
+++ b/source/blender/makesdna/DNA_color_types.h
@@ -82,6 +82,9 @@ typedef struct CurveMapping {
float bwmul[3]; /* black/white point multiply value, for speed */
float sample[3]; /* sample values, if flag set it draws line and intersection */
+
+ short tone;
+ short pad[3];
} CurveMapping;
/* cumapping->flag */
@@ -102,6 +105,12 @@ typedef enum eCurveMappingPreset {
CURVE_PRESET_GAUSS = 7,
} eCurveMappingPreset;
+/* CurveMapping->tone */
+typedef enum eCurveMappingTone {
+ CURVE_TONE_STANDARD = 0,
+ CURVE_TONE_FILMLIKE = 1,
+} eCurveMappingTone;
+
/* histogram->mode */
enum {
HISTO_MODE_LUMA = 0,