From ec303cf980a696fa374dad3b1cdfd6440ed7f846 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 9 Mar 2010 07:41:27 +0000 Subject: Fix [#21188] HueCorrection Node, when reseting Curve, it goes to a incline instead of flat/straight --- source/blender/makesdna/DNA_color_types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/blender/makesdna') 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; -- cgit v1.2.3