diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-09 10:41:27 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-09 10:41:27 +0300 |
commit | ec303cf980a696fa374dad3b1cdfd6440ed7f846 (patch) | |
tree | 578a4dfbf7f86ad49982c257276c6bab2592db1a /source/blender/makesdna/DNA_color_types.h | |
parent | d4756d395bde04dc6cfeed696df1c38211ffbff9 (diff) |
Fix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead of flat/straight
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_color_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index 5d6802290c2..5b4786c0be2 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -64,6 +64,7 @@ typedef struct CurveMap { typedef struct CurveMapping { int flag, cur; /* cur; for buttons, to show active curve */ + int preset, pad; rctf curr, clipr; /* current rect, clip rect (is default rect too) */ @@ -80,6 +81,15 @@ typedef struct CurveMapping { #define CUMA_DRAW_CFRA 4 #define CUMA_DRAW_SAMPLE 8 +/* cumapping->preset */ +typedef enum CurveMappingPreset { + CURVE_PRESET_LINE, + CURVE_PRESET_SHARP, + CURVE_PRESET_SMOOTH, + CURVE_PRESET_MAX, + CURVE_PRESET_MID9 +} CurveMappingPreset; + typedef struct Histogram { int channels; int x_resolution; |