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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-06-15 18:11:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-06-15 18:11:05 +0400
commitfb278a501e2c64f4ecba541545465975eebb8dcc (patch)
treeeeacabe20da162e23751eeb8c9f277e85c50652d /source/blender/makesdna/DNA_armature_types.h
parente11692bc73576ff2942f4e65b89bf75f4e29f301 (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_armature_types.h')
-rw-r--r--source/blender/makesdna/DNA_armature_types.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h
index 7faeccd2a32..cc08d0e92bd 100644
--- a/source/blender/makesdna/DNA_armature_types.h
+++ b/source/blender/makesdna/DNA_armature_types.h
@@ -135,16 +135,16 @@ typedef enum eArmature_Flag {
/* armature->drawtype */
typedef enum eArmature_Drawtype {
ARM_OCTA = 0,
- ARM_LINE,
- ARM_B_BONE,
- ARM_ENVELOPE,
- ARM_WIRE
+ ARM_LINE = 1,
+ ARM_B_BONE = 2,
+ ARM_ENVELOPE = 3,
+ ARM_WIRE = 4
} eArmature_Drawtype;
/* armature->gevertdeformer */
typedef enum eArmature_VertDeformer {
- ARM_VDEF_BLENDER,
- ARM_VDEF_BGE_CPU
+ ARM_VDEF_BLENDER = 0,
+ ARM_VDEF_BGE_CPU = 1
} eArmature_VertDeformer;
/* armature->deformflag */
@@ -170,8 +170,8 @@ typedef enum eArmature_PathFlag {
// XXX depreceated... old animation system (armature only viz)
typedef enum eArmature_GhostType {
ARM_GHOST_CUR = 0,
- ARM_GHOST_RANGE,
- ARM_GHOST_KEYS
+ ARM_GHOST_RANGE = 1,
+ ARM_GHOST_KEYS = 2
} eArmature_GhostType;
/* bone->flag */