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:
authorCampbell Barton <ideasman42@gmail.com>2019-07-07 17:06:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-07 17:17:40 +0300
commit1357dd7d3cf2d0cb5c574fa518136a4654869493 (patch)
tree90da62d31f81cafc549e5ab224e1536c569297e7 /source/blender/makesrna/intern/rna_image_api.c
parent084d545202c27fda5117817491c8d5761b4daafc (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_image_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index 0db099e3e1d..d167c650683 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -36,13 +36,14 @@
#include "RNA_define.h"
#include "RNA_enum_types.h"
+#include "BKE_packedFile.h"
+
#include "rna_internal.h" /* own include */
#ifdef RNA_RUNTIME
# include <errno.h>
# include "BKE_image.h"
-# include "BKE_packedFile.h"
# include "BKE_main.h"
# include "IMB_imbuf.h"