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_ID.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_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index b6fc4f58bd7..95eadc23ef4 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -139,8 +139,8 @@ typedef struct Library { } Library; enum eIconSizes { - ICON_SIZE_ICON, - ICON_SIZE_PREVIEW + ICON_SIZE_ICON = 0, + ICON_SIZE_PREVIEW = 1 }; #define NUM_ICON_SIZES (ICON_SIZE_PREVIEW + 1) |