diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-15 18:11:05 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-15 18:11:05 +0400 |
commit | fb278a501e2c64f4ecba541545465975eebb8dcc (patch) | |
tree | eeacabe20da162e23751eeb8c9f277e85c50652d /source/blender/makesdna/DNA_color_types.h | |
parent | e11692bc73576ff2942f4e65b89bf75f4e29f301 (diff) |
Ensure enums in DNA files has got explicit values
See http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Macros.2C_Enums.2C_Inline_functions
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_color_types.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index 99e2a123fe7..1f8fdd20dda 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -86,13 +86,13 @@ typedef struct CurveMapping { /* cumapping->preset */ typedef enum CurveMappingPreset { - CURVE_PRESET_LINE, - CURVE_PRESET_SHARP, - CURVE_PRESET_SMOOTH, - CURVE_PRESET_MAX, - CURVE_PRESET_MID9, - CURVE_PRESET_ROUND, - CURVE_PRESET_ROOT, + CURVE_PRESET_LINE = 0, + CURVE_PRESET_SHARP = 1, + CURVE_PRESET_SMOOTH = 2, + CURVE_PRESET_MAX = 3, + CURVE_PRESET_MID9 = 4, + CURVE_PRESET_ROUND = 5, + CURVE_PRESET_ROOT = 6, } CurveMappingPreset; /* histogram->mode */ |