diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 21:55:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 22:47:51 +0400 |
commit | 4ca67869cc7ad480670d60eae1df3d2aca03f016 (patch) | |
tree | 24ff34491b5e51a3301b49ffc10aa9c1c5211c30 /source/blender/python | |
parent | 19cd6922a5785584d741126141f336b9bae1e032 (diff) |
Code cleanup: remove unused includes
Opted to keep includes if they are used indirectly (even if removing is possible).
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_customdata.c | 1 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_select.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/idprop_py_api.c | 1 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_app_build_options.c | 1 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_library.c | 1 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna_array.c | 1 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_traceback.c | 1 | ||||
-rw-r--r-- | source/blender/python/intern/gpu.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_noise.c | 3 |
11 files changed, 0 insertions, 17 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.c b/source/blender/python/bmesh/bmesh_py_types_customdata.c index 4fbfbd88c05..dfb3ae75df4 100644 --- a/source/blender/python/bmesh/bmesh_py_types_customdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c @@ -33,7 +33,6 @@ #include <Python.h> #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BLI_math_vector.h" #include "bmesh.h" diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index 1906fc8c90e..b8e04a0cab8 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -43,9 +43,7 @@ #include "bmesh_py_types.h" #include "bmesh_py_types_select.h" -#include "BKE_editmesh.h" -#include "DNA_mesh_types.h" #include "../generic/py_capi_utils.h" diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index 54fed9e11ef..dcdda2c440e 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -29,7 +29,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_string.h" #include "BLI_utildefines.h" #include "idprop_py_api.h" diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index f5dc2942e63..f43b67cf42f 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -25,7 +25,6 @@ */ #include <Python.h> -#include "BLI_utildefines.h" #include "bpy_app_build_options.h" diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 99e741c8c94..90cc07dec89 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -43,7 +43,6 @@ #include "BLI_path_util.h" #include "BLI_fileops.h" #include "BLI_listbase.h" -#include "BLI_math_base.h" #include "BLI_string.h" #include "BLI_string_utf8.h" #include "BLI_threads.h" @@ -58,7 +57,6 @@ #include "bpy_traceback.h" #include "bpy_intern_string.h" -#include "DNA_space_types.h" #include "DNA_text_types.h" #include "BKE_context.h" diff --git a/source/blender/python/intern/bpy_library.c b/source/blender/python/intern/bpy_library.c index 7e84070e930..3d7d08024c7 100644 --- a/source/blender/python/intern/bpy_library.c +++ b/source/blender/python/intern/bpy_library.c @@ -38,7 +38,6 @@ #include "BLI_string.h" #include "BLI_linklist.h" #include "BLI_path_util.h" -#include "BLI_listbase.h" #include "BLO_readfile.h" diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index e0c8df71e4f..38a0f74f009 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -73,8 +73,6 @@ #include "BKE_report.h" #include "BKE_idprop.h" -#include "BKE_animsys.h" -#include "BKE_fcurve.h" #include "../generic/idprop_py_api.h" /* for IDprop lookups */ #include "../generic/py_capi_utils.h" diff --git a/source/blender/python/intern/bpy_rna_array.c b/source/blender/python/intern/bpy_rna_array.c index f62d42314e2..a7a3c493f4e 100644 --- a/source/blender/python/intern/bpy_rna_array.c +++ b/source/blender/python/intern/bpy_rna_array.c @@ -30,7 +30,6 @@ #include "RNA_types.h" -#include "BLI_utildefines.h" #include "bpy_rna.h" #include "BKE_global.h" diff --git a/source/blender/python/intern/bpy_traceback.c b/source/blender/python/intern/bpy_traceback.c index 81d12e9d9a6..a91742179c9 100644 --- a/source/blender/python/intern/bpy_traceback.c +++ b/source/blender/python/intern/bpy_traceback.c @@ -31,7 +31,6 @@ #include "BLI_utildefines.h" #include "BLI_path_util.h" -#include "BLI_string.h" #include "bpy_traceback.h" diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c index 5dcf67e5417..26e3bde57a3 100644 --- a/source/blender/python/intern/gpu.c +++ b/source/blender/python/intern/gpu.c @@ -42,8 +42,6 @@ #include "DNA_scene_types.h" #include "DNA_image_types.h" #include "DNA_material_types.h" -#include "DNA_lamp_types.h" -#include "DNA_object_types.h" #include "DNA_ID.h" #include "DNA_customdata_types.h" diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c index 61bc2b60861..8dfa7904300 100644 --- a/source/blender/python/mathutils/mathutils_noise.c +++ b/source/blender/python/mathutils/mathutils_noise.c @@ -36,13 +36,10 @@ #include "structseq.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_noise.h" #include "BLI_utildefines.h" -#include "MEM_guardedalloc.h" - #include "DNA_texture_types.h" #include "mathutils.h" |