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:
authorMatt Ebb <matt@mke3.net>2010-03-09 10:41:27 +0300
committerMatt Ebb <matt@mke3.net>2010-03-09 10:41:27 +0300
commitec303cf980a696fa374dad3b1cdfd6440ed7f846 (patch)
tree578a4dfbf7f86ad49982c257276c6bab2592db1a /source/blender/makesdna/DNA_color_types.h
parentd4756d395bde04dc6cfeed696df1c38211ffbff9 (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.h10
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;