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_packedFile_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_packedFile_types.h')
-rw-r--r--source/blender/makesdna/DNA_packedFile_types.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_packedFile_types.h b/source/blender/makesdna/DNA_packedFile_types.h
index 339ac0f8c0d..f01e89d18c9 100644
--- a/source/blender/makesdna/DNA_packedFile_types.h
+++ b/source/blender/makesdna/DNA_packedFile_types.h
@@ -43,18 +43,18 @@ typedef struct PackedFile {
enum PF_FileStatus
{
PF_EQUAL = 0,
- PF_DIFFERS,
- PF_NOFILE,
+ PF_DIFFERS = 1,
+ PF_NOFILE = 2,
- PF_WRITE_ORIGINAL,
- PF_WRITE_LOCAL,
- PF_USE_LOCAL,
- PF_USE_ORIGINAL,
- PF_KEEP,
- PF_REMOVE,
- PF_NOOP,
+ PF_WRITE_ORIGINAL = 3,
+ PF_WRITE_LOCAL = 4,
+ PF_USE_LOCAL = 5,
+ PF_USE_ORIGINAL = 6,
+ PF_KEEP = 7,
+ PF_REMOVE = 8,
+ PF_NOOP = 9,
- PF_ASK
+ PF_ASK = 10
};
#endif /* PACKEDFILE_TYPES_H */