Code cleanup: remove unused includes
Opted to keep includes if they are used indirectly (even if removing is possible).
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include <Python.h>
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_math_vector.h"
|
||||
|
||||
#include "bmesh.h"
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "idprop_py_api.h"
|
||||
|
@@ -25,7 +25,6 @@
|
||||
*/
|
||||
|
||||
#include <Python.h>
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "bpy_app_build_options.h"
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -30,7 +30,6 @@
|
||||
|
||||
#include "RNA_types.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "bpy_rna.h"
|
||||
#include "BKE_global.h"
|
||||
|
@@ -31,7 +31,6 @@
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_path_util.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "bpy_traceback.h"
|
||||
|
||||
|
@@ -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"
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user