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_brush_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_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 0cef9aa03b7..cc26ee479d7 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -174,26 +174,26 @@ typedef enum BrushSculptTool { /* direction that the brush displaces along */ enum { - SCULPT_DISP_DIR_AREA, - SCULPT_DISP_DIR_VIEW, - SCULPT_DISP_DIR_X, - SCULPT_DISP_DIR_Y, - SCULPT_DISP_DIR_Z + SCULPT_DISP_DIR_AREA = 0, + SCULPT_DISP_DIR_VIEW = 1, + SCULPT_DISP_DIR_X = 2, + SCULPT_DISP_DIR_Y = 3, + SCULPT_DISP_DIR_Z = 4 }; enum { - PAINT_BLEND_MIX, - PAINT_BLEND_ADD, - PAINT_BLEND_SUB, - PAINT_BLEND_MUL, - PAINT_BLEND_BLUR, - PAINT_BLEND_LIGHTEN, - PAINT_BLEND_DARKEN + PAINT_BLEND_MIX = 0, + PAINT_BLEND_ADD = 1, + PAINT_BLEND_SUB = 2, + PAINT_BLEND_MUL = 3, + PAINT_BLEND_BLUR = 4, + PAINT_BLEND_LIGHTEN = 5, + PAINT_BLEND_DARKEN = 6 }; typedef enum { - BRUSH_MASK_DRAW, - BRUSH_MASK_SMOOTH + BRUSH_MASK_DRAW = 0, + BRUSH_MASK_SMOOTH = 1 } BrushMaskTool; #define MAX_BRUSH_PIXEL_RADIUS 200 |