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_vfont_api.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_vfont_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_vfont_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_vfont_api.c b/source/blender/makesrna/intern/rna_vfont_api.c index bdd73bbb3a6..a85dde5d8b1 100644 --- a/source/blender/makesrna/intern/rna_vfont_api.c +++ b/source/blender/makesrna/intern/rna_vfont_api.c @@ -26,12 +26,12 @@ #include "RNA_define.h" #include "RNA_enum_types.h" +#include "BKE_packedFile.h" + #include "rna_internal.h" #ifdef RNA_RUNTIME -# include "BKE_packedFile.h" - static void rna_VectorFont_pack(VFont *vfont, Main *bmain, ReportList *reports) { vfont->packedfile = BKE_packedfile_new(reports, vfont->name, ID_BLEND_PATH(bmain, &vfont->id)); |