From 2240c260c1b58f18e05f5c976ff03b0c039edc79 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 27 Nov 2014 23:24:13 +0100 Subject: Cleanup: duplicate headers --- source/blender/blenloader/intern/versioning_270.c | 4 +--- source/blender/editors/sculpt_paint/paint_utils.c | 5 +---- source/blender/makesrna/intern/rna_render.c | 1 - source/blender/python/intern/bpy.c | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index fb442f164b0..372a0b06d01 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -49,13 +49,11 @@ #include "DNA_genfile.h" -#include "BLI_blenlib.h" -#include "BLI_math.h" - #include "BKE_main.h" #include "BKE_node.h" #include "BLI_math.h" +#include "BLI_listbase.h" #include "BLI_string.h" #include "BLO_readfile.h" diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index d41af26a4d1..2ec1ca604e8 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -56,7 +56,6 @@ #include "BKE_image.h" #include "BKE_paint.h" #include "BKE_report.h" -#include "BKE_image.h" #include "RNA_access.h" #include "RNA_define.h" @@ -66,6 +65,7 @@ #include "IMB_colormanagement.h" #include "IMB_imbuf_types.h" +#include "IMB_imbuf.h" #include "RE_shader_ext.h" #include "RE_render_ext.h" @@ -74,9 +74,6 @@ #include "ED_screen.h" #include "ED_uvedit.h" -#include "IMB_imbuf_types.h" -#include "IMB_imbuf.h" - #include "BLI_sys_types.h" #include "ED_mesh.h" /* for face mask functions */ diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index 0ee654d4ecc..5d4ec064853 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -38,7 +38,6 @@ #include "RE_engine.h" #include "RE_pipeline.h" -#include "RE_engine.h" EnumPropertyItem render_pass_type_items[] = { diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index d7c07df0c99..0ec7bc73390 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -59,7 +59,6 @@ #include "../generic/idprop_py_api.h" #include "../generic/bgl.h" #include "../generic/blf_py_api.h" -#include "../generic/blf_py_api.h" #include "../mathutils/mathutils.h" #ifdef WITH_FREESTYLE -- cgit v1.2.3