diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-07 17:06:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-07 17:17:40 +0300 |
commit | 1357dd7d3cf2d0cb5c574fa518136a4654869493 (patch) | |
tree | 90da62d31f81cafc549e5ab224e1536c569297e7 /source/blender/makesrna/intern/rna_packedfile.c | |
parent | 084d545202c27fda5117817491c8d5761b4daafc (diff) |
Cleanup: move enum unto BKE_packedFile.h
Use enum type for functions arguments.
Removed -1 check in switch statement, this isn't needed.
Diffstat (limited to 'source/blender/makesrna/intern/rna_packedfile.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_packedfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_packedfile.c b/source/blender/makesrna/intern/rna_packedfile.c index 0b1b48b1bd3..dda1c637f39 100644 --- a/source/blender/makesrna/intern/rna_packedfile.c +++ b/source/blender/makesrna/intern/rna_packedfile.c @@ -27,6 +27,8 @@ #include "RNA_define.h" #include "RNA_enum_types.h" +#include "BKE_packedFile.h" + #include "rna_internal.h" const EnumPropertyItem rna_enum_unpack_method_items[] = { |