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/editors | |
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/editors')
170 files changed, 1 insertions, 527 deletions
diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c index a1ad99ea508..9c3f310a417 100644 --- a/source/blender/editors/animation/anim_draw.c +++ b/source/blender/editors/animation/anim_draw.c @@ -31,7 +31,6 @@ #include "BLI_sys_types.h" #include "DNA_anim_types.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_space_types.h" #include "DNA_userdef_types.h" @@ -40,7 +39,6 @@ #include "BLI_timecode.h" #include "BKE_context.h" -#include "BKE_blender.h" #include "BKE_global.h" #include "BKE_nla.h" #include "BKE_object.h" diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c index 8f3fa66552c..839284905ff 100644 --- a/source/blender/editors/animation/drivers.c +++ b/source/blender/editors/animation/drivers.c @@ -46,7 +46,6 @@ #include "DNA_space_types.h" #include "BKE_animsys.h" -#include "BKE_depsgraph.h" #include "BKE_fcurve.h" #include "BKE_context.h" #include "BKE_report.h" diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c index d4cf98be4fb..e233608dea2 100644 --- a/source/blender/editors/animation/keyframes_draw.c +++ b/source/blender/editors/animation/keyframes_draw.c @@ -40,33 +40,16 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_dlrbTree.h" #include "BLI_utildefines.h" #include "DNA_anim_types.h" -#include "DNA_armature_types.h" -#include "DNA_camera_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "DNA_key_types.h" -#include "DNA_lamp_types.h" -#include "DNA_lattice_types.h" -#include "DNA_mesh_types.h" -#include "DNA_material_types.h" -#include "DNA_meta_types.h" -#include "DNA_node_types.h" -#include "DNA_particle_types.h" -#include "DNA_speaker_types.h" -#include "DNA_world_types.h" #include "DNA_gpencil_types.h" #include "DNA_mask_types.h" #include "BKE_fcurve.h" -#include "BKE_key.h" -#include "BKE_material.h" -#include "BKE_global.h" // XXX remove me! - #include "BIF_gl.h" diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c index 320aa0a2885..7e7453487b8 100644 --- a/source/blender/editors/animation/keyframes_edit.c +++ b/source/blender/editors/animation/keyframes_edit.c @@ -35,30 +35,16 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLI_lasso.h" #include "DNA_anim_types.h" -#include "DNA_armature_types.h" -#include "DNA_camera_types.h" -#include "DNA_key_types.h" -#include "DNA_lamp_types.h" -#include "DNA_lattice_types.h" -#include "DNA_mesh_types.h" -#include "DNA_material_types.h" #include "DNA_object_types.h" -#include "DNA_meta_types.h" #include "DNA_node_types.h" -#include "DNA_particle_types.h" #include "DNA_scene_types.h" #include "DNA_space_types.h" -#include "DNA_world_types.h" #include "BKE_fcurve.h" -#include "BKE_key.h" -#include "BKE_material.h" - #include "ED_anim_api.h" #include "ED_keyframes_edit.h" diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index f2161c4f094..c610595c4ba 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -36,7 +36,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "DNA_anim_types.h" diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index e082678bcba..78c87d58766 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -40,7 +40,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BLF_translation.h" @@ -59,7 +58,6 @@ #include "BKE_armature.h" #include "BKE_depsgraph.h" #include "BKE_fcurve.h" -#include "BKE_main.h" #include "BKE_idcode.h" #include "BKE_nla.h" #include "BKE_global.h" diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 28b2d26e59b..ad2db0d9c66 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -39,8 +39,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "DNA_anim_types.h" diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c index 9faf6d59bd0..e4ba8728e55 100644 --- a/source/blender/editors/armature/armature_relations.c +++ b/source/blender/editors/armature/armature_relations.c @@ -40,7 +40,6 @@ #include "BLF_translation.h" #include "BKE_action.h" -#include "BKE_armature.h" #include "BKE_constraint.h" #include "BKE_context.h" #include "BKE_depsgraph.h" diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 0cca1dd1689..647b640ee61 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -40,7 +40,6 @@ #include "BKE_constraint.h" #include "BKE_armature.h" #include "BKE_context.h" -#include "BKE_scene.h" #include "ED_armature.h" #include "ED_util.h" diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index 26ea4835b7d..de8b2e36d5b 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -36,12 +36,10 @@ #include "DNA_anim_types.h" #include "DNA_armature_types.h" -#include "DNA_constraint_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" #include "BKE_anim.h" -#include "BKE_action.h" #include "BKE_armature.h" #include "BKE_context.h" #include "BKE_deform.h" diff --git a/source/blender/editors/armature/pose_select.c b/source/blender/editors/armature/pose_select.c index c10c028c2ae..d783c1dcfde 100644 --- a/source/blender/editors/armature/pose_select.c +++ b/source/blender/editors/armature/pose_select.c @@ -43,7 +43,6 @@ #include "BKE_armature.h" #include "BKE_constraint.h" #include "BKE_context.h" -#include "BKE_deform.h" #include "BKE_depsgraph.h" #include "BKE_object.h" diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 1bcdbadde7a..eec728bac7a 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -57,7 +57,6 @@ #include "BKE_curve.h" #include "BKE_depsgraph.h" #include "BKE_font.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_object.h" #include "BKE_report.h" diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 6e65cbb760c..2a6dcd9caa6 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -36,7 +36,6 @@ #include "BLI_sys_types.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_utildefines.h" @@ -44,10 +43,8 @@ #include "DNA_scene_types.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" -#include "DNA_userdef_types.h" #include "DNA_view3d_types.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_global.h" #include "BKE_gpencil.h" @@ -58,7 +55,6 @@ #include "BIF_glutil.h" #include "ED_gpencil.h" -#include "ED_sequencer.h" #include "ED_view3d.h" #include "gpencil_intern.h" diff --git a/source/blender/editors/gpencil/editaction_gpencil.c b/source/blender/editors/gpencil/editaction_gpencil.c index 8fcbee6f758..f5bf1422488 100644 --- a/source/blender/editors/gpencil/editaction_gpencil.c +++ b/source/blender/editors/gpencil/editaction_gpencil.c @@ -37,7 +37,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "DNA_gpencil_types.h" @@ -46,7 +45,6 @@ #include "BKE_fcurve.h" #include "BKE_gpencil.h" -#include "ED_anim_api.h" #include "ED_gpencil.h" #include "ED_keyframes_edit.h" #include "ED_markers.h" diff --git a/source/blender/editors/gpencil/gpencil_buttons.c b/source/blender/editors/gpencil/gpencil_buttons.c index 481323992d0..0fe4d7e7157 100644 --- a/source/blender/editors/gpencil/gpencil_buttons.c +++ b/source/blender/editors/gpencil/gpencil_buttons.c @@ -33,7 +33,6 @@ #include <stdlib.h> #include <stddef.h> -#include "BLI_math.h" #include "BLI_blenlib.h" #include "BLF_translation.h" diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index d5598718736..d25de906e31 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -52,7 +52,6 @@ #include "DNA_view3d_types.h" #include "DNA_gpencil_types.h" -#include "BKE_animsys.h" #include "BKE_context.h" #include "BKE_curve.h" #include "BKE_depsgraph.h" diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 1b9dfd8b1f9..16f88bb8add 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -45,7 +45,6 @@ #include "BLI_listbase.h" #include "BLI_string.h" #include "BLI_string_utf8.h" -#include "BLI_path_util.h" #include "BLI_rect.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 6f9189cef47..d0f238bc5ba 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -32,7 +32,6 @@ #include <string.h> #include "DNA_color_types.h" -#include "DNA_object_types.h" #include "DNA_screen_types.h" #include "DNA_movieclip_types.h" diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index cbbb6a2a255..f951b16d668 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -44,7 +44,6 @@ #include "GPU_extensions.h" -#include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "BLI_fileops_types.h" diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 46cf822b08d..49d44c92eed 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -41,7 +41,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_math_color_blend.h" #include "BLI_utildefines.h" #include "BLF_translation.h" diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index 3299b7b1312..4a88ac22a22 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -41,12 +41,10 @@ #include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_dynstr.h" #include "BLI_ghash.h" #include "BKE_context.h" #include "BKE_screen.h" -#include "BKE_idcode.h" #include "BKE_report.h" #include "BKE_global.h" diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index f4efe9d2b22..bbdfd1dcbae 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -38,7 +38,6 @@ #include "DNA_screen_types.h" #include "DNA_userdef_types.h" -#include "BLI_math.h" #include "BLI_listbase.h" #include "BLI_rect.h" #include "BLI_string.h" diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 4299d7cbdb4..3b2dae2b8ba 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -48,25 +48,19 @@ #include "BLF_api.h" #include "BLF_translation.h" -#include "BKE_animsys.h" #include "BKE_colortools.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_displist.h" -#include "BKE_dynamicpaint.h" #include "BKE_global.h" #include "BKE_idcode.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_material.h" #include "BKE_modifier.h" -#include "BKE_node.h" #include "BKE_object.h" #include "BKE_packedFile.h" #include "BKE_particle.h" #include "BKE_report.h" #include "BKE_sca.h" -#include "BKE_scene.h" #include "BKE_screen.h" #include "BKE_texture.h" diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index bcb46b4b60b..2c958c5028a 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -43,7 +43,6 @@ #include "BLF_translation.h" -#include "BKE_context.h" #include "BKE_report.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 30db16e0d82..c9bff1acffc 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -37,7 +37,6 @@ #include "DNA_userdef_types.h" #include "BLI_math.h" -#include "BLI_listbase.h" #include "BLI_rect.h" #include "BLI_string.h" #include "BLI_string_utf8.h" diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index b29f0bd8a61..982e8f1a9fe 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -39,10 +39,8 @@ #include "DNA_userdef_types.h" #include "BLI_utildefines.h" -#include "BLI_listbase.h" #include "BLI_link_utils.h" #include "BLI_rect.h" -#include "BLI_linklist.h" #include "BLI_math.h" #include "BLI_memarena.h" #include "BLI_timecode.h" @@ -58,7 +56,6 @@ #include "BLF_api.h" -#include "ED_anim_api.h" #include "ED_screen.h" #include "UI_interface.h" diff --git a/source/blender/editors/mask/mask_add.c b/source/blender/editors/mask/mask_add.c index d2c1d844326..b816103de13 100644 --- a/source/blender/editors/mask/mask_add.c +++ b/source/blender/editors/mask/mask_add.c @@ -40,7 +40,6 @@ #include "DNA_scene_types.h" #include "DNA_screen_types.h" #include "DNA_mask_types.h" -#include "DNA_object_types.h" /* SELECT */ #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/mask/mask_editaction.c b/source/blender/editors/mask/mask_editaction.c index 547f08653cb..bcf9ee5c88d 100644 --- a/source/blender/editors/mask/mask_editaction.c +++ b/source/blender/editors/mask/mask_editaction.c @@ -36,11 +36,9 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "DNA_mask_types.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "BKE_fcurve.h" diff --git a/source/blender/editors/mask/mask_relationships.c b/source/blender/editors/mask/mask_relationships.c index bebbc00ca1f..e02561d839c 100644 --- a/source/blender/editors/mask/mask_relationships.c +++ b/source/blender/editors/mask/mask_relationships.c @@ -46,7 +46,6 @@ #include "ED_screen.h" #include "ED_clip.h" /* frame remapping functions */ -#include "ED_mask.h" /* own include */ #include "mask_intern.h" /* own include */ diff --git a/source/blender/editors/mask/mask_select.c b/source/blender/editors/mask/mask_select.c index a05102310e6..af6f127327c 100644 --- a/source/blender/editors/mask/mask_select.c +++ b/source/blender/editors/mask/mask_select.c @@ -40,13 +40,11 @@ #include "BKE_mask.h" #include "DNA_mask_types.h" -#include "DNA_object_types.h" /* SELECT */ #include "WM_api.h" #include "WM_types.h" #include "ED_screen.h" -#include "ED_clip.h" #include "ED_mask.h" /* own include */ #include "RNA_access.h" diff --git a/source/blender/editors/mask/mask_shapekey.c b/source/blender/editors/mask/mask_shapekey.c index 26b97580b91..99ffc9cd7d2 100644 --- a/source/blender/editors/mask/mask_shapekey.c +++ b/source/blender/editors/mask/mask_shapekey.c @@ -38,7 +38,6 @@ #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_mask.h" -#include "BKE_report.h" #include "DNA_object_types.h" #include "DNA_mask_types.h" diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c index 1c5036ccf80..5150a703951 100644 --- a/source/blender/editors/mesh/editface.c +++ b/source/blender/editors/mesh/editface.c @@ -29,7 +29,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BLI_bitmap.h" #include "BLF_translation.h" diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c index a442d549a14..b288a02a3d1 100644 --- a/source/blender/editors/mesh/editmesh_add.c +++ b/source/blender/editors/mesh/editmesh_add.c @@ -32,7 +32,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_math.h" #include "BLF_translation.h" diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c index fe49d9ad000..6a54f1979cf 100644 --- a/source/blender/editors/mesh/editmesh_bisect.c +++ b/source/blender/editors/mesh/editmesh_bisect.c @@ -32,7 +32,6 @@ #include "DNA_object_types.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLF_translation.h" diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index 61bfbfb4ac9..15bfeea8918 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -41,7 +41,6 @@ #include "BLI_smallhash.h" #include "BKE_context.h" -#include "BKE_displist.h" #include "BKE_report.h" #include "BKE_paint.h" #include "BKE_editmesh.h" @@ -59,8 +58,6 @@ #include "ED_screen.h" #include "ED_view3d.h" -#include "BIF_gl.h" - #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index d2648bf1c4e..758cbd59794 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -50,7 +50,6 @@ #include "BKE_editmesh_bvh.h" #include "BKE_object.h" /* XXX. only for EDBM_mesh_ensure_valid_dm_hack() which will be removed */ -#include "BKE_scene.h" /* XXX, only for eval_ctx used in EDBM_mesh_ensure_valid_dm_hack */ #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c index 0740370cd1f..7c38ef21791 100644 --- a/source/blender/editors/mesh/mesh_ops.c +++ b/source/blender/editors/mesh/mesh_ops.c @@ -31,7 +31,6 @@ #include "DNA_scene_types.h" #include "DNA_modifier_types.h" -#include "BLI_math.h" #include "RNA_access.h" diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c index dc3ac2ee0ae..1441a1ef4c0 100644 --- a/source/blender/editors/metaball/mball_edit.c +++ b/source/blender/editors/metaball/mball_edit.c @@ -56,7 +56,6 @@ #include "ED_mball.h" #include "ED_screen.h" #include "ED_view3d.h" -#include "ED_transform.h" #include "ED_util.h" #include "WM_api.h" diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index cfd3469898f..081da7c2c18 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -45,7 +45,6 @@ #include "DNA_object_force.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "DNA_speaker_types.h" #include "DNA_vfont_types.h" #include "DNA_actuator_types.h" @@ -61,7 +60,6 @@ #include "BKE_animsys.h" #include "BKE_armature.h" #include "BKE_camera.h" -#include "BKE_constraint.h" #include "BKE_context.h" #include "BKE_curve.h" #include "BKE_depsgraph.h" @@ -79,7 +77,6 @@ #include "BKE_material.h" #include "BKE_mball.h" #include "BKE_mesh.h" -#include "BKE_modifier.h" #include "BKE_nla.h" #include "BKE_object.h" #include "BKE_particle.h" diff --git a/source/blender/editors/object/object_bake.c b/source/blender/editors/object/object_bake.c index 5a8d1d081f8..2699d28a10a 100644 --- a/source/blender/editors/object/object_bake.c +++ b/source/blender/editors/object/object_bake.c @@ -49,7 +49,6 @@ #include "BLI_math_geom.h" #include "BKE_blender.h" -#include "BKE_ccg.h" #include "BKE_screen.h" #include "BKE_context.h" #include "BKE_global.h" @@ -60,7 +59,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_modifier.h" #include "BKE_DerivedMesh.h" -#include "BKE_subsurf.h" #include "BKE_depsgraph.h" #include "BKE_mesh.h" #include "BKE_scene.h" diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 58575154eff..85e4bbce8dc 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -74,7 +74,6 @@ #include "RNA_enum_types.h" #include "ED_object.h" -#include "ED_armature.h" #include "ED_keyframing.h" #include "ED_screen.h" diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index cb89cdc4af3..fc669888081 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -45,7 +45,6 @@ #include "DNA_armature_types.h" #include "DNA_curve_types.h" #include "DNA_group_types.h" -#include "DNA_lattice_types.h" #include "DNA_material_types.h" #include "DNA_meta_types.h" #include "DNA_property_types.h" @@ -64,7 +63,6 @@ #include "BKE_curve.h" #include "BKE_effect.h" #include "BKE_depsgraph.h" -#include "BKE_font.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" @@ -72,7 +70,6 @@ #include "BKE_mball.h" #include "BKE_mesh.h" #include "BKE_object.h" -#include "BKE_paint.h" #include "BKE_pointcache.h" #include "BKE_property.h" #include "BKE_sca.h" diff --git a/source/blender/editors/object/object_hook.c b/source/blender/editors/object/object_hook.c index 670e2f2d4ac..f26b8a34bd7 100644 --- a/source/blender/editors/object/object_hook.c +++ b/source/blender/editors/object/object_hook.c @@ -50,7 +50,6 @@ #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_object.h" #include "BKE_report.h" @@ -65,7 +64,6 @@ #include "ED_curve.h" #include "ED_mesh.h" #include "ED_screen.h" -#include "ED_object.h" #include "WM_types.h" #include "WM_api.h" diff --git a/source/blender/editors/object/object_lod.c b/source/blender/editors/object/object_lod.c index d02b69ba5cf..a7cc4131a96 100644 --- a/source/blender/editors/object/object_lod.c +++ b/source/blender/editors/object/object_lod.c @@ -33,7 +33,6 @@ #include "DNA_object_types.h" #include "BKE_context.h" -#include "BKE_main.h" #include "BKE_object.h" #include "ED_screen.h" diff --git a/source/blender/editors/object/object_ops.c b/source/blender/editors/object/object_ops.c index 5f93f4b5deb..119107a0704 100644 --- a/source/blender/editors/object/object_ops.c +++ b/source/blender/editors/object/object_ops.c @@ -35,8 +35,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_math.h" -#include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "BKE_context.h" diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 6a54c209218..81e05ca7dbd 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -44,9 +44,7 @@ #include "DNA_material_types.h" #include "DNA_meta_types.h" #include "DNA_particle_types.h" -#include "DNA_rigidbody_types.h" #include "DNA_scene_types.h" -#include "DNA_speaker_types.h" #include "DNA_world_types.h" #include "DNA_object_types.h" #include "DNA_vfont_types.h" diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c index a0350cf9f35..b1a78407491 100644 --- a/source/blender/editors/object/object_select.c +++ b/source/blender/editors/object/object_select.c @@ -33,8 +33,6 @@ #include <stdlib.h> #include <string.h> -#include "MEM_guardedalloc.h" - #include "DNA_anim_types.h" #include "DNA_group_types.h" #include "DNA_material_types.h" @@ -47,7 +45,6 @@ #include "BLI_math.h" #include "BLI_listbase.h" #include "BLI_rand.h" -#include "BLI_string.h" #include "BLI_utildefines.h" #include "BLF_translation.h" diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 40cf7684201..f2cfc3ca935 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -60,8 +60,6 @@ #include "BKE_customdata.h" #include "BKE_deform.h" #include "BKE_depsgraph.h" -#include "BKE_global.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_editmesh.h" #include "BKE_report.h" diff --git a/source/blender/editors/physics/particle_boids.c b/source/blender/editors/physics/particle_boids.c index 8a5f623c533..ef1e661c580 100644 --- a/source/blender/editors/physics/particle_boids.c +++ b/source/blender/editors/physics/particle_boids.c @@ -33,7 +33,6 @@ #include "MEM_guardedalloc.h" #include "DNA_particle_types.h" -#include "DNA_scene_types.h" #include "BLI_listbase.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index cadfa296a26..3c6bdf86a50 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -48,7 +48,6 @@ #include "BLI_lasso.h" #include "BLI_listbase.h" #include "BLI_string.h" -#include "BLI_dynstr.h" #include "BLI_kdtree.h" #include "BLI_rand.h" #include "BLI_utildefines.h" @@ -62,7 +61,6 @@ #include "BKE_modifier.h" #include "BKE_particle.h" #include "BKE_report.h" -#include "BKE_scene.h" #include "BKE_pointcache.h" diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index cf228fcffb5..05abd0ea70d 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -37,41 +37,27 @@ #include "MEM_guardedalloc.h" /* types */ -#include "DNA_anim_types.h" #include "DNA_action_types.h" #include "DNA_object_types.h" #include "DNA_object_fluidsim.h" #include "BLI_blenlib.h" -#include "BLI_threads.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BKE_animsys.h" -#include "BKE_armature.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_customdata.h" -#include "BKE_DerivedMesh.h" -#include "BKE_displist.h" -#include "BKE_effect.h" #include "BKE_fluidsim.h" #include "BKE_global.h" -#include "BKE_ipo.h" -#include "BKE_key.h" #include "BKE_main.h" #include "BKE_modifier.h" #include "BKE_object.h" #include "BKE_report.h" #include "BKE_scene.h" -#include "BKE_softbody.h" -#include "BKE_unit.h" - #include "LBM_fluidsim.h" #include "ED_screen.h" -#include "ED_fluidsim.h" #include "WM_types.h" #include "WM_api.h" @@ -84,7 +70,6 @@ #include "WM_api.h" #include "DNA_scene_types.h" -#include "DNA_ipo_types.h" #include "DNA_mesh_types.h" #include "PIL_time.h" diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index 422b2525725..71e5e23b5f1 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -29,11 +29,8 @@ * \ingroup edphys */ - #include <stdlib.h> -#include "MEM_guardedalloc.h" - #include "BLI_blenlib.h" #include "BLI_utildefines.h" @@ -42,12 +39,8 @@ #include "BKE_context.h" #include "BKE_global.h" #include "BKE_main.h" -#include "BKE_modifier.h" #include "BKE_particle.h" #include "BKE_pointcache.h" -#include "BKE_report.h" -#include "BKE_scene.h" - #include "ED_particle.h" diff --git a/source/blender/editors/physics/rigidbody_constraint.c b/source/blender/editors/physics/rigidbody_constraint.c index 00b9940121c..dd0816e509d 100644 --- a/source/blender/editors/physics/rigidbody_constraint.c +++ b/source/blender/editors/physics/rigidbody_constraint.c @@ -33,21 +33,16 @@ #include <stdlib.h> #include <string.h> -#include "MEM_guardedalloc.h" - -#include "DNA_group_types.h" #include "DNA_object_types.h" #include "DNA_rigidbody_types.h" #include "DNA_scene_types.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_global.h" #include "BKE_group.h" -#include "BKE_object.h" #include "BKE_report.h" #include "BKE_rigidbody.h" diff --git a/source/blender/editors/physics/rigidbody_world.c b/source/blender/editors/physics/rigidbody_world.c index d5056d51a78..1c893992cf2 100644 --- a/source/blender/editors/physics/rigidbody_world.c +++ b/source/blender/editors/physics/rigidbody_world.c @@ -37,7 +37,6 @@ #include "DNA_rigidbody_types.h" #include "DNA_scene_types.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #ifdef WITH_BULLET @@ -45,13 +44,8 @@ #endif #include "BKE_context.h" -#include "BKE_depsgraph.h" -#include "BKE_group.h" -#include "BKE_global.h" -#include "BKE_main.h" #include "BKE_report.h" #include "BKE_rigidbody.h" -#include "BKE_utildefines.h" #include "RNA_access.h" #include "RNA_define.h" @@ -60,7 +54,6 @@ #include "WM_api.h" #include "WM_types.h" -#include "ED_physics.h" #include "ED_screen.h" #include "physics_intern.h" diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c index 58498156243..73d52dc5782 100644 --- a/source/blender/editors/render/render_internal.c +++ b/source/blender/editors/render/render_internal.c @@ -35,7 +35,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_threads.h" #include "BLI_utildefines.h" #include "PIL_time.h" @@ -51,15 +50,12 @@ #include "BKE_context.h" #include "BKE_colortools.h" #include "BKE_depsgraph.h" -#include "BKE_freestyle.h" #include "BKE_global.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_node.h" -#include "BKE_multires.h" #include "BKE_object.h" -#include "BKE_paint.h" #include "BKE_report.h" #include "BKE_sequencer.h" #include "BKE_screen.h" diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index e095485f68b..c1f8dd89f71 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -37,13 +37,11 @@ #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_dlrbTree.h" #include "BLI_utildefines.h" #include "BLI_jitter.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_world_types.h" #include "BKE_context.h" #include "BKE_global.h" @@ -59,7 +57,6 @@ #include "ED_screen.h" #include "ED_view3d.h" -#include "ED_image.h" #include "RE_pipeline.h" #include "IMB_imbuf_types.h" @@ -69,9 +66,6 @@ #include "RNA_access.h" #include "RNA_define.h" -#include "BIF_gl.h" -#include "BIF_glutil.h" - #include "GPU_extensions.h" #include "wm_window.h" diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 0379212354c..4c34c4edba9 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -45,7 +45,6 @@ #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_threads.h" #include "BLI_utildefines.h" #include "BLO_readfile.h" @@ -57,7 +56,6 @@ #include "DNA_object_types.h" #include "DNA_lamp_types.h" #include "DNA_space_types.h" -#include "DNA_view3d_types.h" #include "DNA_scene_types.h" #include "DNA_brush_types.h" #include "DNA_screen_types.h" @@ -65,7 +63,6 @@ #include "BKE_brush.h" #include "BKE_context.h" #include "BKE_colortools.h" -#include "BKE_depsgraph.h" #include "BKE_global.h" #include "BKE_idprop.h" #include "BKE_image.h" @@ -75,7 +72,6 @@ #include "BKE_main.h" #include "BKE_material.h" #include "BKE_node.h" -#include "BKE_object.h" #include "BKE_scene.h" #include "BKE_texture.h" #include "BKE_world.h" @@ -98,7 +94,6 @@ #include "ED_datafiles.h" #include "ED_render.h" -#include "ED_view3d.h" #include "UI_interface.h" diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c index 3906b3d0c10..8babd4d32d9 100644 --- a/source/blender/editors/render/render_shading.c +++ b/source/blender/editors/render/render_shading.c @@ -31,7 +31,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_curve_types.h" #include "DNA_lamp_types.h" #include "DNA_material_types.h" @@ -43,7 +42,6 @@ #include "DNA_world_types.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLF_translation.h" @@ -55,13 +53,11 @@ #include "BKE_font.h" #include "BKE_freestyle.h" #include "BKE_global.h" -#include "BKE_icons.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_linestyle.h" #include "BKE_main.h" #include "BKE_material.h" -#include "BKE_node.h" #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_texture.h" diff --git a/source/blender/editors/render/render_update.c b/source/blender/editors/render/render_update.c index f82a98a2394..94d8d78de1a 100644 --- a/source/blender/editors/render/render_update.c +++ b/source/blender/editors/render/render_update.c @@ -29,8 +29,6 @@ #include <stdlib.h> #include <string.h> -#include "MEM_guardedalloc.h" - #include "DNA_lamp_types.h" #include "DNA_material_types.h" #include "DNA_meshdata_types.h" @@ -47,17 +45,12 @@ #include "BLI_utildefines.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" #include "BKE_DerivedMesh.h" #include "BKE_icons.h" -#include "BKE_image.h" #include "BKE_main.h" #include "BKE_material.h" #include "BKE_node.h" #include "BKE_paint.h" -#include "BKE_scene.h" -#include "BKE_texture.h" -#include "BKE_world.h" #include "GPU_material.h" #include "GPU_buffers.h" diff --git a/source/blender/editors/render/render_view.c b/source/blender/editors/render/render_view.c index 09b82733178..0beb5737ec7 100644 --- a/source/blender/editors/render/render_view.c +++ b/source/blender/editors/render/render_view.c @@ -29,21 +29,14 @@ #include <string.h> #include <stddef.h> -#include "MEM_guardedalloc.h" - -#include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "DNA_scene_types.h" #include "DNA_userdef_types.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_image.h" #include "BKE_global.h" -#include "BKE_main.h" -#include "BKE_node.h" -#include "BKE_report.h" #include "BKE_screen.h" #include "WM_api.h" diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 468c3a0524b..151764dab6a 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -39,7 +39,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_alloca.h" #include "BLI_linklist_stack.h" #include "BLF_translation.h" @@ -58,8 +57,6 @@ #include "ED_screen.h" #include "ED_screen_types.h" #include "ED_space_api.h" -#include "ED_types.h" -#include "ED_fileselect.h" #include "BIF_gl.h" #include "BIF_glutil.h" diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index 3feabef2c5f..f31d79ff76b 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -39,11 +39,7 @@ #include "BLI_rect.h" #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_threads.h" -#include "BKE_blender.h" -#include "BKE_global.h" -#include "BKE_colortools.h" #include "BKE_context.h" #include "BIF_gl.h" diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c index b1c57030130..7c8987ae778 100644 --- a/source/blender/editors/screen/screen_context.c +++ b/source/blender/editors/screen/screen_context.c @@ -49,7 +49,6 @@ #include "RNA_access.h" -#include "ED_object.h" #include "ED_armature.h" #include "WM_api.h" diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 2f1ca99ffb9..f76f76aacaa 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -55,11 +55,9 @@ #include "WM_api.h" #include "WM_types.h" -#include "ED_image.h" #include "ED_object.h" #include "ED_screen.h" #include "ED_screen_types.h" -#include "ED_fileselect.h" #include "ED_clip.h" #include "ED_render.h" diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 1b850d6676d..8b6a1b22a5c 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -45,7 +45,6 @@ #include "DNA_curve_types.h" #include "DNA_scene_types.h" #include "DNA_meta_types.h" -#include "DNA_mesh_types.h" #include "DNA_mask_types.h" #include "DNA_node_types.h" #include "DNA_userdef_types.h" @@ -54,8 +53,6 @@ #include "BKE_customdata.h" #include "BKE_global.h" #include "BKE_main.h" -#include "BKE_mesh.h" -#include "BKE_node.h" #include "BKE_object.h" #include "BKE_report.h" #include "BKE_scene.h" diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 484bafb4d83..3d860145f59 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -35,7 +35,6 @@ #include "MEM_guardedalloc.h" #include "BLI_bitmap.h" -#include "BLI_listbase.h" #include "BLI_math_vector.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 87e707bd8f4..5e2bdcb3c93 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -42,9 +42,6 @@ #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BLI_linklist.h" -#include "BLI_memarena.h" -#include "BLI_threads.h" #include "BLI_utildefines.h" #include "PIL_time.h" @@ -57,37 +54,24 @@ #include "DNA_node_types.h" #include "DNA_object_types.h" -#include "BKE_camera.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_DerivedMesh.h" -#include "BKE_idprop.h" #include "BKE_brush.h" #include "BKE_image.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_mesh.h" #include "BKE_node.h" -#include "BKE_object.h" #include "BKE_paint.h" -#include "BKE_report.h" -#include "BKE_scene.h" -#include "BKE_colortools.h" #include "BKE_editmesh.h" -#include "BIF_gl.h" -#include "BIF_glutil.h" - #include "UI_view2d.h" #include "ED_image.h" #include "ED_object.h" #include "ED_screen.h" #include "ED_sculpt.h" -#include "ED_uvedit.h" #include "ED_view3d.h" -#include "ED_mesh.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c index 7007d9b119c..7888b150bda 100644 --- a/source/blender/editors/sculpt_paint/paint_image_2d.c +++ b/source/blender/editors/sculpt_paint/paint_image_2d.c @@ -39,11 +39,9 @@ #include "DNA_object_types.h" #include "BLI_math.h" -#include "BLI_rect.h" #include "BKE_context.h" #include "BKE_brush.h" -#include "BKE_main.h" #include "BKE_image.h" #include "BKE_paint.h" #include "BKE_report.h" diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 791d9f7ffd2..8db21c9fffd 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -60,35 +60,23 @@ #include "BKE_camera.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" #include "BKE_DerivedMesh.h" #include "BKE_idprop.h" #include "BKE_brush.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" -#include "BKE_node.h" -#include "BKE_object.h" #include "BKE_paint.h" #include "BKE_report.h" #include "BKE_scene.h" -#include "BKE_colortools.h" - -#include "BKE_editmesh.h" - -#include "BIF_gl.h" -#include "BIF_glutil.h" #include "UI_view2d.h" -#include "ED_image.h" #include "ED_screen.h" #include "ED_sculpt.h" #include "ED_uvedit.h" #include "ED_view3d.h" -#include "ED_mesh.h" #include "GPU_extensions.h" diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index a222c7249f7..6c9428c1897 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -32,7 +32,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 71a548d2f21..543463cd5f3 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -39,7 +39,6 @@ #include "BKE_context.h" #include "BKE_paint.h" #include "BKE_main.h" -#include "BKE_image.h" #include "ED_sculpt.h" #include "ED_screen.h" diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index e18ad1d1ba8..77b18c13629 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -33,7 +33,6 @@ #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_memarena.h" #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" @@ -58,7 +57,6 @@ #include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "BKE_object_deform.h" #include "BKE_paint.h" #include "BKE_report.h" diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index b2e5207a69c..a9f8abb4475 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -38,7 +38,6 @@ #include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_dynstr.h" #include "BLI_ghash.h" #include "BLI_threads.h" @@ -55,7 +54,6 @@ #include "BKE_pbvh.h" #include "BKE_brush.h" #include "BKE_ccg.h" -#include "BKE_cdderivedmesh.h" #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_image.h" @@ -66,16 +64,11 @@ #include "BKE_modifier.h" #include "BKE_multires.h" #include "BKE_paint.h" -#include "BKE_report.h" -#include "BKE_scene.h" -#include "BKE_lattice.h" /* for armature_deform_verts */ #include "BKE_node.h" #include "BKE_object.h" #include "BKE_subsurf.h" #include "BKE_colortools.h" -#include "BIF_glutil.h" - #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 29f8fba20c5..0560801bc77 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -49,10 +49,8 @@ #include "DNA_mesh_types.h" #include "BKE_ccg.h" -#include "BKE_cdderivedmesh.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_modifier.h" #include "BKE_multires.h" #include "BKE_paint.h" #include "BKE_key.h" diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index d02bd73e1b3..797a881ce79 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -40,16 +40,13 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_brush_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "BKE_brush.h" #include "BKE_paint.h" #include "BKE_colortools.h" #include "BKE_context.h" -#include "BKE_main.h" #include "BKE_depsgraph.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_customdata.h" #include "BKE_editmesh.h" diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 71a6c775774..619fbd7f4c8 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -39,7 +39,6 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "DNA_anim_types.h" #include "DNA_packedFile_types.h" #include "DNA_scene_types.h" #include "DNA_space_types.h" diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index b5f6fa9a23e..f15bbe0d2f1 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -38,7 +38,6 @@ #include <float.h> #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" /* Types --------------------------------------------------------------- */ diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c index eb9f5d2d6ce..91284310749 100644 --- a/source/blender/editors/space_action/action_edit.c +++ b/source/blender/editors/space_action/action_edit.c @@ -42,7 +42,6 @@ #include "DNA_anim_types.h" #include "DNA_gpencil_types.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_mask_types.h" @@ -65,7 +64,6 @@ #include "ED_keyframing.h" #include "ED_keyframes_edit.h" #include "ED_screen.h" -#include "ED_transform.h" #include "ED_markers.h" #include "ED_mask.h" diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c index b93728a7b3e..93cd94ed892 100644 --- a/source/blender/editors/space_action/action_ops.c +++ b/source/blender/editors/space_action/action_ops.c @@ -35,7 +35,6 @@ #include "DNA_space_types.h" -#include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "ED_anim_api.h" diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 8b133facbb3..1e89b304279 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -35,7 +35,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_dlrbTree.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 8c12c6dcf21..895c38747c1 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -44,7 +44,6 @@ #include "DNA_node_types.h" #include "DNA_scene_types.h" #include "DNA_world_types.h" -#include "DNA_speaker_types.h" #include "DNA_brush_types.h" #include "BKE_context.h" diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index ea3f34b4b86..1257dcb5e4c 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -35,7 +35,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_context.h" @@ -44,15 +43,12 @@ #include "ED_space_api.h" #include "ED_screen.h" -#include "BIF_gl.h" - #include "WM_api.h" #include "WM_types.h" #include "UI_resources.h" #include "UI_view2d.h" -#include "ED_render.h" #include "buttons_intern.h" /* own include */ diff --git a/source/blender/editors/space_clip/clip_buttons.c b/source/blender/editors/space_clip/clip_buttons.c index a5557f8150a..cda46d2a9c2 100644 --- a/source/blender/editors/space_clip/clip_buttons.c +++ b/source/blender/editors/space_clip/clip_buttons.c @@ -42,7 +42,6 @@ #include "BLI_utildefines.h" #include "BLI_listbase.h" #include "BLI_path_util.h" -#include "BLI_rect.h" #include "BLI_string.h" #include "BLF_translation.h" @@ -53,7 +52,6 @@ #include "BKE_movieclip.h" #include "BKE_tracking.h" -#include "ED_clip.h" #include "ED_gpencil.h" #include "UI_interface.h" diff --git a/source/blender/editors/space_clip/clip_dopesheet_draw.c b/source/blender/editors/space_clip/clip_dopesheet_draw.c index 11d6bf08e67..2a457bf503f 100644 --- a/source/blender/editors/space_clip/clip_dopesheet_draw.c +++ b/source/blender/editors/space_clip/clip_dopesheet_draw.c @@ -33,23 +33,17 @@ #include "DNA_object_types.h" /* SELECT */ #include "DNA_scene_types.h" -#include "MEM_guardedalloc.h" - #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_string.h" -#include "BLI_listbase.h" #include "BLI_rect.h" #include "BKE_context.h" #include "BKE_movieclip.h" -#include "BKE_tracking.h" #include "ED_screen.h" #include "ED_clip.h" #include "BIF_gl.h" -#include "BIF_glutil.h" #include "WM_types.h" diff --git a/source/blender/editors/space_clip/clip_dopesheet_ops.c b/source/blender/editors/space_clip/clip_dopesheet_ops.c index 58ae0d14e4d..573b6bc9276 100644 --- a/source/blender/editors/space_clip/clip_dopesheet_ops.c +++ b/source/blender/editors/space_clip/clip_dopesheet_ops.c @@ -32,17 +32,12 @@ #include "DNA_object_types.h" /* SELECT */ #include "DNA_scene_types.h" -#include "MEM_guardedalloc.h" - #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_listbase.h" #include "BLI_rect.h" #include "BKE_context.h" -#include "BKE_movieclip.h" #include "BKE_tracking.h" -#include "BKE_depsgraph.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c index 85404309e0b..9d413e81ea8 100644 --- a/source/blender/editors/space_clip/clip_draw.c +++ b/source/blender/editors/space_clip/clip_draw.c @@ -32,8 +32,6 @@ #include "DNA_gpencil_types.h" #include "DNA_movieclip_types.h" #include "DNA_scene_types.h" -#include "DNA_object_types.h" /* SELECT */ -#include "DNA_mask_types.h" #include "MEM_guardedalloc.h" @@ -44,14 +42,12 @@ #include "BLI_utildefines.h" #include "BLI_math.h" #include "BLI_string.h" -#include "BLI_rect.h" #include "BLI_math_base.h" #include "BKE_context.h" #include "BKE_image.h" #include "BKE_movieclip.h" #include "BKE_tracking.h" -#include "BKE_mask.h" #include "ED_screen.h" #include "ED_clip.h" @@ -61,7 +57,6 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "WM_api.h" #include "WM_types.h" #include "UI_interface.h" diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index ae75b9e3088..b7860643e1a 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -43,18 +43,15 @@ #include "MEM_guardedalloc.h" #include "DNA_mask_types.h" -#include "DNA_object_types.h" /* SELECT */ #include "BLI_utildefines.h" #include "BLI_fileops.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_rect.h" #include "BLI_threads.h" #include "BKE_global.h" #include "BKE_main.h" -#include "BKE_mask.h" #include "BKE_movieclip.h" #include "BKE_context.h" #include "BKE_tracking.h" diff --git a/source/blender/editors/space_clip/clip_graph_draw.c b/source/blender/editors/space_clip/clip_graph_draw.c index 4f4949def19..723c8bd144a 100644 --- a/source/blender/editors/space_clip/clip_graph_draw.c +++ b/source/blender/editors/space_clip/clip_graph_draw.c @@ -31,13 +31,9 @@ #include "DNA_movieclip_types.h" #include "DNA_scene_types.h" -#include "DNA_object_types.h" /* SELECT */ - -#include "MEM_guardedalloc.h" #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BKE_context.h" #include "BKE_movieclip.h" @@ -47,7 +43,6 @@ #include "ED_clip.h" #include "BIF_gl.h" -#include "BIF_glutil.h" #include "WM_types.h" diff --git a/source/blender/editors/space_clip/clip_graph_ops.c b/source/blender/editors/space_clip/clip_graph_ops.c index 8596c8fb19a..95f59e79c08 100644 --- a/source/blender/editors/space_clip/clip_graph_ops.c +++ b/source/blender/editors/space_clip/clip_graph_ops.c @@ -29,18 +29,13 @@ * \ingroup spclip */ -#include "DNA_object_types.h" /* SELECT */ #include "DNA_scene_types.h" -#include "MEM_guardedalloc.h" - #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_listbase.h" #include "BLI_rect.h" #include "BKE_context.h" -#include "BKE_movieclip.h" #include "BKE_tracking.h" #include "BKE_depsgraph.h" diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index ae2bf7e00a7..7ccee73626c 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -58,7 +58,6 @@ #include "BKE_global.h" #include "BKE_report.h" #include "BKE_main.h" -#include "BKE_library.h" #include "BKE_movieclip.h" #include "BKE_sound.h" #include "BKE_tracking.h" diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 5eb60b126b2..d3be25050c8 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -43,7 +43,6 @@ #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BKE_main.h" #include "BKE_context.h" #include "BKE_screen.h" #include "BKE_movieclip.h" diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index 04269e01489..ce14471f608 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -34,7 +34,6 @@ #include "DNA_camera_types.h" #include "DNA_constraint_types.h" #include "DNA_gpencil_types.h" -#include "DNA_mask_types.h" #include "DNA_movieclip_types.h" #include "DNA_object_types.h" /* SELECT */ #include "DNA_scene_types.h" @@ -54,10 +53,7 @@ #include "BKE_depsgraph.h" #include "BKE_object.h" #include "BKE_report.h" -#include "BKE_scene.h" #include "BKE_library.h" -#include "BKE_mask.h" -#include "BKE_node.h" #include "BKE_sound.h" #include "WM_api.h" @@ -65,7 +61,6 @@ #include "ED_screen.h" #include "ED_clip.h" -#include "ED_keyframing.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c index 9909268bb53..4d9c262e1ff 100644 --- a/source/blender/editors/space_clip/tracking_select.c +++ b/source/blender/editors/space_clip/tracking_select.c @@ -31,11 +31,7 @@ #include "MEM_guardedalloc.h" -#include "DNA_camera_types.h" -#include "DNA_constraint_types.h" -#include "DNA_gpencil_types.h" #include "DNA_movieclip_types.h" -#include "DNA_object_types.h" /* SELECT */ #include "DNA_scene_types.h" #include "BLI_utildefines.h" @@ -43,27 +39,15 @@ #include "BLI_listbase.h" #include "BLI_rect.h" #include "BLI_lasso.h" -#include "BLI_blenlib.h" -#include "BKE_main.h" #include "BKE_context.h" -#include "BKE_constraint.h" -#include "BKE_movieclip.h" #include "BKE_tracking.h" -#include "BKE_global.h" -#include "BKE_depsgraph.h" -#include "BKE_object.h" -#include "BKE_report.h" -#include "BKE_scene.h" -#include "BKE_library.h" -#include "BKE_sound.h" #include "WM_api.h" #include "WM_types.h" #include "ED_screen.h" #include "ED_clip.h" -#include "ED_keyframing.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c index cb191d0b15e..635d5ea07fd 100644 --- a/source/blender/editors/space_console/console_draw.c +++ b/source/blender/editors/space_console/console_draw.c @@ -24,7 +24,6 @@ * \ingroup spconsole */ - #include <math.h> #include <stdlib.h> #include <string.h> @@ -39,16 +38,9 @@ #include "DNA_space_types.h" #include "DNA_screen_types.h" -#include "BKE_report.h" - - #include "MEM_guardedalloc.h" #include "BIF_gl.h" -#include "BIF_glutil.h" - -#include "ED_datafiles.h" -#include "ED_types.h" #include "UI_interface.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c index 290f4c2e5f2..b8743d69762 100644 --- a/source/blender/editors/space_console/console_ops.c +++ b/source/blender/editors/space_console/console_ops.c @@ -43,7 +43,6 @@ #include "BLI_math.h" #include "BKE_context.h" -#include "BKE_text.h" /* only for character utility funcs */ #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c index 247fb997055..43313c7dd06 100644 --- a/source/blender/editors/space_console/space_console.c +++ b/source/blender/editors/space_console/space_console.c @@ -34,12 +34,10 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_context.h" #include "BKE_screen.h" -#include "BKE_idcode.h" #include "ED_space_api.h" #include "ED_screen.h" diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 5c6678967b5..f0a84ef482e 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -34,7 +34,6 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_dynstr.h" #include "BLI_fileops_types.h" #ifdef WIN32 @@ -52,8 +51,6 @@ #include "BLF_translation.h" #include "IMB_imbuf_types.h" - -#include "MEM_guardedalloc.h" #include "DNA_userdef_types.h" #include "DNA_windowmanager_types.h" diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 8ef9308e2fd..871abbda48a 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -46,7 +46,6 @@ #include "BLI_blenlib.h" #include "BLI_linklist.h" -#include "BLI_threads.h" #include "BLI_utildefines.h" #include "BLI_fileops_types.h" diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index 69888105713..7a415c8c5cd 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -55,8 +55,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_linklist.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BLI_fileops_types.h" #include "BLI_fnmatch.h" diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index f6bc6f70f36..6284caf1456 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -37,12 +37,8 @@ #include "MEM_guardedalloc.h" -#include "DNA_space_types.h" /* FILE_MAX */ - #include "BLI_utildefines.h" #include "BLI_blenlib.h" -#include "BLI_linklist.h" -#include "BLI_dynstr.h" #ifdef WIN32 # include <windows.h> /* need to include windows.h so _WIN32_IE is defined */ diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index c04f4a5627e..3a493c0338c 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -36,7 +36,6 @@ #include "BIF_gl.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLI_fileops_types.h" diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index cb8aa6689c3..447e0cd3537 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -40,18 +40,15 @@ #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "DNA_anim_types.h" -#include "DNA_object_types.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" #include "DNA_windowmanager_types.h" #include "DNA_userdef_types.h" #include "BKE_context.h" -#include "BKE_curve.h" #include "BKE_fcurve.h" diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index c6743e74777..364dd1d0344 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -46,7 +46,6 @@ #include "BLI_utildefines.h" #include "DNA_anim_types.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "RNA_access.h" diff --git a/source/blender/editors/space_graph/graph_ops.c b/source/blender/editors/space_graph/graph_ops.c index 907bcc3154b..eacbca38305 100644 --- a/source/blender/editors/space_graph/graph_ops.c +++ b/source/blender/editors/space_graph/graph_ops.c @@ -33,9 +33,7 @@ #include <math.h> #include "DNA_scene_types.h" -#include "DNA_anim_types.h" -#include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "BLI_math_base.h" diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index 2e0e2b1a0d1..82eddfbe4a9 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -40,7 +40,6 @@ #include "BLI_lasso.h" #include "DNA_anim_types.h" -#include "DNA_object_types.h" #include "DNA_screen_types.h" #include "DNA_scene_types.h" #include "DNA_space_types.h" diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 203b983838f..c2b9d92d00a 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -30,24 +30,18 @@ #include <string.h> #include <stdio.h> -#include "DNA_meshdata_types.h" -#include "DNA_object_types.h" #include "DNA_node_types.h" #include "DNA_scene_types.h" #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLF_translation.h" -#include "BKE_colortools.h" #include "BKE_context.h" -#include "BKE_customdata.h" #include "BKE_image.h" -#include "BKE_mesh.h" #include "BKE_node.h" #include "BKE_screen.h" @@ -57,7 +51,6 @@ #include "IMB_imbuf_types.h" #include "ED_gpencil.h" -#include "ED_image.h" #include "ED_screen.h" #include "RNA_access.h" diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index 635c7cde584..016143f640b 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -74,9 +74,6 @@ #include "UI_resources.h" #include "UI_view2d.h" -#include "WM_api.h" -#include "WM_types.h" - #include "RE_pipeline.h" #include "RE_engine.h" diff --git a/source/blender/editors/space_image/image_edit.c b/source/blender/editors/space_image/image_edit.c index 9c1bfd230e3..a2f7d9e7d6c 100644 --- a/source/blender/editors/space_image/image_edit.c +++ b/source/blender/editors/space_image/image_edit.c @@ -32,13 +32,11 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_math.h" #include "BLI_rect.h" #include "BKE_context.h" #include "BKE_global.h" #include "BKE_image.h" -#include "BKE_main.h" #include "BKE_editmesh.h" #include "BKE_library.h" diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 07d01f45bf0..57be15f23fb 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -53,7 +53,6 @@ #include "BKE_global.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_node.h" #include "BKE_packedFile.h" #include "BKE_report.h" #include "BKE_screen.h" diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 6419baab425..f60705ca52a 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -43,12 +43,8 @@ #include "BKE_colortools.h" #include "BKE_context.h" #include "BKE_image.h" -#include "BKE_global.h" #include "BKE_scene.h" #include "BKE_screen.h" -#include "BKE_editmesh.h" -#include "BKE_sequencer.h" -#include "BKE_node.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c index 575f44b61a9..86af89bd6a9 100644 --- a/source/blender/editors/space_info/info_draw.c +++ b/source/blender/editors/space_info/info_draw.c @@ -27,8 +27,6 @@ * \ingroup spinfo */ - - #include <math.h> #include <stdlib.h> #include <string.h> @@ -37,7 +35,6 @@ #include "BLF_api.h" -#include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "DNA_space_types.h" @@ -46,11 +43,7 @@ // #include "BKE_suggestions.h" #include "BKE_report.h" - -#include "MEM_guardedalloc.h" - #include "BIF_gl.h" -#include "BIF_glutil.h" #include "ED_datafiles.h" #include "ED_types.h" diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c index 7dc46d51ca0..0cc01646e82 100644 --- a/source/blender/editors/space_info/info_report.c +++ b/source/blender/editors/space_info/info_report.c @@ -41,7 +41,6 @@ #include "WM_types.h" #include "ED_screen.h" -#include "ED_types.h" #include "RNA_access.h" #include "RNA_define.h" diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c index 1fd47219463..8664ebf30b7 100644 --- a/source/blender/editors/space_info/info_stats.c +++ b/source/blender/editors/space_info/info_stats.c @@ -34,7 +34,6 @@ #include "DNA_curve_types.h" #include "DNA_group_types.h" #include "DNA_lattice_types.h" -#include "DNA_mesh_types.h" #include "DNA_meta_types.h" #include "DNA_scene_types.h" @@ -50,14 +49,12 @@ #include "BKE_displist.h" #include "BKE_DerivedMesh.h" #include "BKE_key.h" -#include "BKE_mesh.h" #include "BKE_paint.h" #include "BKE_particle.h" #include "BKE_editmesh.h" #include "ED_info.h" #include "ED_armature.h" -#include "ED_mesh.h" #define MAX_INFO_LEN 512 diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c index f23e50a8650..062fc0cd42e 100644 --- a/source/blender/editors/space_info/space_info.c +++ b/source/blender/editors/space_info/space_info.c @@ -35,7 +35,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLF_translation.h" diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index 3c2024b026b..c09c684ac7a 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -40,12 +40,9 @@ #include "BLI_string_utf8.h" #include "BIF_gl.h" -#include "BIF_glutil.h" #include "BKE_text.h" -#include "ED_datafiles.h" - #include "textview.h" static void console_font_begin(TextViewContext *sc) diff --git a/source/blender/editors/space_logic/logic_ops.c b/source/blender/editors/space_logic/logic_ops.c index 5fe3c57a4c8..62703ba517e 100644 --- a/source/blender/editors/space_logic/logic_ops.c +++ b/source/blender/editors/space_logic/logic_ops.c @@ -42,7 +42,6 @@ #include "BKE_context.h" #include "BKE_main.h" #include "BKE_sca.h" -#include "BKE_material.h" //for texface convert #include "ED_logic.h" #include "ED_object.h" @@ -59,11 +58,6 @@ #include "logic_intern.h" -// temporary new includes for texface functions -#include "DNA_mesh_types.h" -#include "DNA_material_types.h" -#include "DNA_meshdata_types.h" - /* ************* Generic Operator Helpers ************* */ static int edit_sensor_poll(bContext *C) { diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c index 77aff78baa4..4b533292a95 100644 --- a/source/blender/editors/space_logic/logic_window.c +++ b/source/blender/editors/space_logic/logic_window.c @@ -42,7 +42,6 @@ #include "DNA_screen_types.h" #include "DNA_sensor_types.h" #include "DNA_constraint_types.h" -#include "DNA_windowmanager_types.h" #include "DNA_object_types.h" #include "MEM_guardedalloc.h" @@ -52,18 +51,11 @@ #include "BKE_action.h" #include "BKE_context.h" -#include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_sca.h" -#include "BKE_screen.h" #include "ED_util.h" -#include "WM_types.h" - -#include "BIF_gl.h" - #include "BLF_translation.h" #include "UI_interface.h" diff --git a/source/blender/editors/space_logic/space_logic.c b/source/blender/editors/space_logic/space_logic.c index daeab030990..733cac7794e 100644 --- a/source/blender/editors/space_logic/space_logic.c +++ b/source/blender/editors/space_logic/space_logic.c @@ -36,7 +36,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_context.h" diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index 0c4f08c9199..a39783cf94b 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -40,7 +40,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_math.h" #include "BLI_blenlib.h" #include "BLF_translation.h" diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c index 1f2fe6b1ecf..e50b02567aa 100644 --- a/source/blender/editors/space_nla/nla_channels.c +++ b/source/blender/editors/space_nla/nla_channels.c @@ -39,7 +39,6 @@ #include "DNA_scene_types.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_animsys.h" diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c index 08dc46ff043..948e1a37e90 100644 --- a/source/blender/editors/space_nla/nla_draw.c +++ b/source/blender/editors/space_nla/nla_draw.c @@ -42,7 +42,6 @@ #include "DNA_windowmanager_types.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_dlrbTree.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/space_nla/nla_ops.c b/source/blender/editors/space_nla/nla_ops.c index 47496684380..55658c87925 100644 --- a/source/blender/editors/space_nla/nla_ops.c +++ b/source/blender/editors/space_nla/nla_ops.c @@ -36,7 +36,6 @@ #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BKE_context.h" #include "BKE_screen.h" diff --git a/source/blender/editors/space_nla/nla_select.c b/source/blender/editors/space_nla/nla_select.c index 58eb8776168..d4592135726 100644 --- a/source/blender/editors/space_nla/nla_select.c +++ b/source/blender/editors/space_nla/nla_select.c @@ -38,7 +38,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BKE_nla.h" #include "BKE_context.h" diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index d0ba33358e4..134e5dd80a2 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -38,7 +38,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_context.h" diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index eb5c23a60f7..78333de1fe9 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -44,7 +44,6 @@ #include "BKE_image.h" #include "BKE_main.h" #include "BKE_node.h" -#include "BKE_scene.h" #include "BKE_tracking.h" #include "BLF_api.h" @@ -53,8 +52,6 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "MEM_guardedalloc.h" - #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index b37e2ff445b..55a95d34977 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -32,7 +32,6 @@ #include "DNA_lamp_types.h" #include "DNA_node_types.h" #include "DNA_material_types.h" -#include "DNA_object_types.h" #include "DNA_screen_types.h" #include "DNA_space_types.h" #include "DNA_texture_types.h" @@ -58,7 +57,6 @@ #include "ED_node.h" #include "ED_gpencil.h" -#include "ED_screen.h" #include "ED_space_api.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index c7297f33322..f9b5b097787 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -32,30 +32,24 @@ #include "MEM_guardedalloc.h" #include "DNA_action_types.h" -#include "DNA_anim_types.h" #include "DNA_lamp_types.h" #include "DNA_material_types.h" #include "DNA_node_types.h" -#include "DNA_object_types.h" #include "DNA_text_types.h" #include "DNA_world_types.h" #include "BLI_math.h" #include "BLI_blenlib.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_depsgraph.h" #include "BKE_global.h" #include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_material.h" #include "BKE_node.h" -#include "BKE_paint.h" #include "BKE_report.h" #include "BKE_scene.h" -#include "BKE_texture.h" #include "RE_engine.h" #include "RE_pipeline.h" diff --git a/source/blender/editors/space_node/node_group.c b/source/blender/editors/space_node/node_group.c index 14a68bd1674..39aba921f72 100644 --- a/source/blender/editors/space_node/node_group.c +++ b/source/blender/editors/space_node/node_group.c @@ -34,12 +34,9 @@ #include "MEM_guardedalloc.h" #include "DNA_node_types.h" -#include "DNA_object_types.h" #include "DNA_anim_types.h" #include "BLI_listbase.h" -#include "BLI_string.h" -#include "BLI_rect.h" #include "BLI_math.h" #include "BLF_translation.h" diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c index 54cde7fb00a..6a0e1f35d24 100644 --- a/source/blender/editors/space_node/node_relationships.c +++ b/source/blender/editors/space_node/node_relationships.c @@ -34,14 +34,12 @@ #include "MEM_guardedalloc.h" #include "DNA_node_types.h" -#include "DNA_object_types.h" #include "BLI_math.h" #include "BLI_blenlib.h" #include "BKE_context.h" #include "BKE_global.h" -#include "BKE_main.h" #include "BKE_node.h" #include "ED_node.h" /* own include */ diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c index a304b5bab51..7371a3ef070 100644 --- a/source/blender/editors/space_node/node_select.c +++ b/source/blender/editors/space_node/node_select.c @@ -43,7 +43,6 @@ #include "ED_node.h" /* own include */ #include "ED_screen.h" -#include "ED_types.h" #include "RNA_access.h" #include "RNA_define.h" diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 09e971ff491..1f728b380d6 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -39,7 +39,6 @@ #include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_ghash.h" #include "BLI_mempool.h" #include "BLF_translation.h" diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index daf8033e312..d7521edd57a 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -31,8 +31,6 @@ #include <stdlib.h> -#include "MEM_guardedalloc.h" - #include "DNA_armature_types.h" #include "DNA_group_types.h" #include "DNA_lamp_types.h" @@ -47,7 +45,6 @@ #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_main.h" #include "BKE_object.h" #include "BKE_scene.h" #include "BKE_sequencer.h" diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 0c274aaf110..dce3c7cef6c 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -45,7 +45,6 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_ghash.h" #include "BKE_animsys.h" #include "BKE_context.h" @@ -57,7 +56,6 @@ #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_sequencer.h" -#include "BKE_treehash.h" #include "ED_armature.h" #include "ED_object.h" diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 721eb626cdf..bfa0dcd1c8c 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -54,8 +54,6 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_math.h" -#include "BLI_ghash.h" #include "BLI_mempool.h" #include "BLI_fnmatch.h" diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index eede11cb51c..e25e67a9f3e 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -35,10 +35,8 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLI_mempool.h" -#include "BLI_ghash.h" #include "BKE_context.h" #include "BKE_screen.h" diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c index 18692880ddf..4ade067827a 100644 --- a/source/blender/editors/space_sequencer/sequencer_add.c +++ b/source/blender/editors/space_sequencer/sequencer_add.c @@ -47,13 +47,11 @@ #include "DNA_scene_types.h" #include "DNA_mask_types.h" -#include "DNA_userdef_types.h" #include "BLF_translation.h" #include "BKE_context.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_sequencer.h" #include "BKE_movieclip.h" diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 60aa13efc34..e2830fca4bb 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -31,8 +31,6 @@ #include <string.h> #include <math.h> -#include "MEM_guardedalloc.h" - #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_utildefines.h" @@ -63,7 +61,6 @@ #include "ED_markers.h" #include "ED_mask.h" #include "ED_sequencer.h" -#include "ED_types.h" #include "ED_space_api.h" #include "UI_interface.h" @@ -71,7 +68,6 @@ #include "UI_view2d.h" #include "WM_api.h" -#include "WM_types.h" /* own include */ #include "sequencer_intern.h" diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 212bc5bda29..af1a23d39bb 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -44,12 +44,10 @@ #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_threads.h" #include "BLF_translation.h" #include "DNA_scene_types.h" -#include "DNA_userdef_types.h" #include "BKE_context.h" #include "BKE_global.h" @@ -57,7 +55,6 @@ #include "BKE_sequencer.h" #include "BKE_report.h" #include "BKE_sound.h" -#include "BKE_movieclip.h" #include "IMB_imbuf.h" diff --git a/source/blender/editors/space_sequencer/sequencer_ops.c b/source/blender/editors/space_sequencer/sequencer_ops.c index f022e78a0ad..e69a02aa3df 100644 --- a/source/blender/editors/space_sequencer/sequencer_ops.c +++ b/source/blender/editors/space_sequencer/sequencer_ops.c @@ -28,18 +28,11 @@ * \ingroup spseq */ - #include <stdlib.h> #include <math.h> - #include "DNA_space_types.h" -#include "BLI_math.h" -#include "BLI_blenlib.h" - - - #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index a5d7944ac3a..7d7a81a7bff 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -40,7 +40,6 @@ #include <sys/types.h> #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "DNA_scene_types.h" @@ -56,7 +55,6 @@ /* for menu/popup icons etc etc*/ -#include "ED_types.h" #include "ED_screen.h" #include "ED_sequencer.h" diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index f24d853369c..a94b73802b2 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -38,7 +38,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_context.h" @@ -47,7 +46,6 @@ #include "BKE_global.h" #include "ED_space_api.h" -#include "ED_sequencer.h" #include "ED_screen.h" #include "ED_view3d.h" /* only for sequencer view3d drawing callback */ diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 7b4481cfc7f..0263b6cd912 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -38,7 +38,6 @@ #include "DNA_text_types.h" #include "BLI_blenlib.h" -#include "BLI_math.h" #include "BLF_translation.h" diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index 7a623f23be8..a363fae093b 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -42,7 +42,6 @@ #include "BLI_utildefines.h" #include "BKE_context.h" -#include "BKE_global.h" #include "BKE_screen.h" #include "BKE_pointcache.h" diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index bc9a9aacd03..03f2fa86ecb 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -33,7 +33,6 @@ #include "MEM_guardedalloc.h" #include "BLI_utildefines.h" -#include "BLI_blenlib.h" #include "BLI_bitmap.h" #include "BLI_math.h" @@ -46,10 +45,8 @@ #include "DNA_scene_types.h" #include "DNA_screen_types.h" #include "DNA_view3d_types.h" -#include "DNA_windowmanager_types.h" #include "BKE_DerivedMesh.h" -#include "BKE_effect.h" #include "BKE_global.h" #include "BKE_image.h" #include "BKE_material.h" @@ -70,7 +67,6 @@ #include "RE_engine.h" -#include "ED_mesh.h" #include "ED_uvedit.h" #include "view3d_intern.h" /* own include */ diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index e586ce0fa61..7f56b4a9822 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -46,7 +46,6 @@ #include "BLI_listbase.h" #include "BLI_link_utils.h" #include "BLI_string.h" -#include "BLI_rect.h" #include "BLI_math.h" #include "BLI_memarena.h" diff --git a/source/blender/editors/space_view3d/drawvolume.c b/source/blender/editors/space_view3d/drawvolume.c index f3088cee63b..59798f97d93 100644 --- a/source/blender/editors/space_view3d/drawvolume.c +++ b/source/blender/editors/space_view3d/drawvolume.c @@ -41,29 +41,9 @@ #include "DNA_property_types.h" #include "BLI_utildefines.h" -#include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" - -#include "BKE_curve.h" -#include "BKE_constraint.h" /* for the get_constraint_target function */ -#include "BKE_DerivedMesh.h" -#include "BKE_displist.h" -#include "BKE_effect.h" -#include "BKE_font.h" -#include "BKE_global.h" -#include "BKE_image.h" -#include "BKE_key.h" -#include "BKE_lattice.h" -#include "BKE_mesh.h" -#include "BKE_material.h" -#include "BKE_mball.h" -#include "BKE_modifier.h" -#include "BKE_object.h" -#include "BKE_paint.h" + #include "BKE_particle.h" -#include "BKE_property.h" -#include "BKE_smoke.h" #include "smoke_API.h" diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 6749f2b9c9a..4d958a50857 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -49,10 +49,8 @@ #include "BKE_scene.h" #include "BKE_screen.h" -#include "ED_render.h" #include "ED_space_api.h" #include "ED_screen.h" -#include "ED_object.h" #include "GPU_extensions.h" #include "GPU_material.h" diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c index d61017fb80e..dfbae90655c 100644 --- a/source/blender/editors/space_view3d/view3d_buttons.c +++ b/source/blender/editors/space_view3d/view3d_buttons.c @@ -56,8 +56,6 @@ #include "BKE_curve.h" #include "BKE_customdata.h" #include "BKE_depsgraph.h" -#include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_screen.h" #include "BKE_editmesh.h" #include "BKE_deform.h" @@ -73,8 +71,6 @@ #include "ED_object.h" #include "ED_mesh.h" #include "ED_screen.h" -#include "ED_transform.h" -#include "ED_curve.h" #include "UI_interface.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 8b28e667726..8121a1be380 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -38,7 +38,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_camera_types.h" -#include "DNA_lamp_types.h" #include "MEM_guardedalloc.h" @@ -56,7 +55,6 @@ #include "BKE_scene.h" #include "BKE_screen.h" #include "BKE_action.h" -#include "BKE_armature.h" #include "BKE_depsgraph.h" /* for ED_view3d_camera_lock_sync */ diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index 27d03bdc47e..e3d0e87066b 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -34,9 +34,6 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_mesh_types.h" - -#include "MEM_guardedalloc.h" #include "BLI_math.h" #include "BLI_blenlib.h" @@ -46,11 +43,8 @@ #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_effect.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_paint.h" #include "BKE_screen.h" #include "BKE_editmesh.h" @@ -64,8 +58,6 @@ #include "ED_mesh.h" #include "ED_util.h" #include "ED_screen.h" -#include "ED_transform.h" -#include "ED_types.h" #include "UI_interface.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_view3d/view3d_iterators.c b/source/blender/editors/space_view3d/view3d_iterators.c index 98d61c108a7..ce4b7f7deeb 100644 --- a/source/blender/editors/space_view3d/view3d_iterators.c +++ b/source/blender/editors/space_view3d/view3d_iterators.c @@ -33,7 +33,6 @@ #include "DNA_scene_types.h" #include "BLI_utildefines.h" -#include "BLI_listbase.h" #include "BLI_rect.h" #include "BKE_armature.h" @@ -44,10 +43,8 @@ #include "bmesh.h" -#include "ED_mesh.h" #include "ED_screen.h" #include "ED_armature.h" -#include "ED_object.h" #include "ED_view3d.h" typedef struct foreachScreenObjectVert_userData { diff --git a/source/blender/editors/space_view3d/view3d_ops.c b/source/blender/editors/space_view3d/view3d_ops.c index 7c7730c43f4..4fa995b8799 100644 --- a/source/blender/editors/space_view3d/view3d_ops.c +++ b/source/blender/editors/space_view3d/view3d_ops.c @@ -39,7 +39,6 @@ #include "DNA_space_types.h" #include "DNA_view3d_types.h" -#include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 46a3a17747f..da456c21990 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -66,7 +66,6 @@ #include "BKE_depsgraph.h" #include "BKE_mball.h" #include "BKE_mesh.h" -#include "BKE_movieclip.h" #include "BKE_object.h" #include "BKE_paint.h" #include "BKE_editmesh.h" diff --git a/source/blender/editors/space_view3d/view3d_toolbar.c b/source/blender/editors/space_view3d/view3d_toolbar.c index 8946559bca8..3f7f12d2020 100644 --- a/source/blender/editors/space_view3d/view3d_toolbar.c +++ b/source/blender/editors/space_view3d/view3d_toolbar.c @@ -47,8 +47,6 @@ #include "BLF_translation.h" #include "BKE_context.h" -#include "BKE_idprop.h" -#include "BKE_global.h" #include "BKE_screen.h" diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index 6e68fc24bcb..d4b00d7948f 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -32,7 +32,6 @@ #include "DNA_camera_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_lamp_types.h" #include "MEM_guardedalloc.h" @@ -52,7 +51,6 @@ #include "BKE_main.h" #include "BKE_report.h" #include "BKE_scene.h" -#include "BKE_screen.h" #include "BIF_gl.h" #include "BIF_glutil.h" diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c index 8180ac12d80..1c3e223f3ed 100644 --- a/source/blender/editors/space_view3d/view3d_walk.c +++ b/source/blender/editors/space_view3d/view3d_walk.c @@ -30,7 +30,6 @@ //#define NDOF_WALK_DRAW_TOOMUCH /* is this needed for ndof? - commented so redraw doesnt thrash - campbell */ #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_camera_types.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index b24c8229b61..2cd8b2011a8 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -46,8 +46,6 @@ #include "DNA_anim_types.h" #include "DNA_armature_types.h" #include "DNA_constraint_types.h" -#include "DNA_mesh_types.h" -#include "DNA_meshdata_types.h" #include "DNA_mask_types.h" #include "DNA_movieclip_types.h" #include "DNA_scene_types.h" /* PET modes */ @@ -58,15 +56,12 @@ #include "BLI_listbase.h" #include "BLI_string.h" #include "BLI_ghash.h" -#include "BLI_linklist.h" #include "BKE_nla.h" #include "BKE_editmesh_bvh.h" #include "BKE_context.h" #include "BKE_constraint.h" -#include "BKE_global.h" #include "BKE_particle.h" -#include "BKE_pointcache.h" #include "BKE_unit.h" #include "BKE_mask.h" @@ -81,7 +76,6 @@ #include "ED_view3d.h" #include "ED_mesh.h" #include "ED_clip.h" -#include "ED_mask.h" #include "ED_node.h" #include "WM_types.h" diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index aef0434fd4c..d8b5888e92b 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -63,7 +63,6 @@ #include "BLI_listbase.h" #include "BLI_linklist_stack.h" #include "BLI_string.h" -#include "BLI_rect.h" #include "BLI_bitmap.h" #include "BKE_DerivedMesh.h" @@ -108,7 +107,6 @@ #include "ED_markers.h" #include "ED_mesh.h" #include "ED_node.h" -#include "ED_types.h" #include "ED_uvedit.h" #include "ED_clip.h" #include "ED_mask.h" diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index 4bd767c240b..632d6c0eba0 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -45,7 +45,6 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" #include "DNA_mesh_types.h" -#include "DNA_meshdata_types.h" #include "DNA_view3d_types.h" #include "DNA_modifier_types.h" #include "DNA_movieclip_types.h" @@ -70,10 +69,8 @@ #include "BKE_armature.h" #include "BKE_curve.h" #include "BKE_depsgraph.h" -#include "BKE_displist.h" #include "BKE_fcurve.h" #include "BKE_lattice.h" -#include "BKE_mesh.h" #include "BKE_nla.h" #include "BKE_context.h" #include "BKE_sequencer.h" diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index aaa67e58eaf..711e73a249c 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -41,12 +41,9 @@ #include <io.h> #endif -#include "MEM_guardedalloc.h" - #include "DNA_armature_types.h" #include "DNA_curve_types.h" #include "DNA_lattice_types.h" -#include "DNA_mesh_types.h" #include "DNA_meta_types.h" #include "DNA_screen_types.h" #include "DNA_scene_types.h" @@ -61,7 +58,6 @@ #include "BKE_context.h" #include "BKE_curve.h" #include "BKE_global.h" -#include "BKE_mesh.h" #include "BKE_particle.h" #include "BKE_pointcache.h" #include "BKE_editmesh.h" @@ -74,7 +70,6 @@ #include "ED_armature.h" #include "ED_curve.h" -#include "ED_mesh.h" #include "ED_particle.h" #include "ED_view3d.h" diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index 4823f44914d..f27ea4793fe 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -36,7 +36,6 @@ #include "BKE_context.h" #include "BKE_global.h" -#include "BKE_armature.h" #include "BKE_report.h" #include "RNA_access.h" @@ -50,7 +49,6 @@ #include "UI_resources.h" #include "ED_screen.h" -#include "ED_mesh.h" #include "transform.h" diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 87b064acac7..f8c06e307b9 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -33,7 +33,6 @@ #include "DNA_armature_types.h" #include "DNA_curve_types.h" -#include "DNA_mesh_types.h" #include "DNA_meta_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" @@ -47,7 +46,6 @@ #include "BLI_utildefines.h" #include "BKE_action.h" -#include "BKE_armature.h" #include "BKE_curve.h" #include "BKE_context.h" #include "BKE_editmesh.h" @@ -58,7 +56,6 @@ #include "BLF_translation.h" #include "ED_armature.h" -#include "ED_mesh.h" #include "RNA_define.h" diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c index 0ede3e668dd..055dd5fbf87 100644 --- a/source/blender/editors/transform/transform_snap.c +++ b/source/blender/editors/transform/transform_snap.c @@ -40,7 +40,6 @@ #include "DNA_curve_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" /* Temporary, for snapping to other unselected meshes */ #include "DNA_node_types.h" #include "DNA_space_types.h" @@ -61,7 +60,6 @@ #include "BKE_context.h" #include "BKE_editmesh.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_tracking.h" #include "RNA_access.h" @@ -70,7 +68,6 @@ #include "ED_armature.h" #include "ED_image.h" -#include "ED_mesh.h" #include "ED_node.h" #include "ED_uvedit.h" #include "ED_view3d.h" diff --git a/source/blender/editors/util/editmode_undo.c b/source/blender/editors/util/editmode_undo.c index 9be0d68e573..ef95e4cb3ff 100644 --- a/source/blender/editors/util/editmode_undo.c +++ b/source/blender/editors/util/editmode_undo.c @@ -36,10 +36,8 @@ #include "MEM_guardedalloc.h" #include "DNA_object_types.h" -#include "DNA_screen_types.h" #include "BLI_blenlib.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BKE_blender.h" diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 733b45f560d..a4f2c36f250 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -37,12 +37,9 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "BLI_blenlib.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BLF_translation.h" diff --git a/source/blender/editors/uvedit/uvedit_buttons.c b/source/blender/editors/uvedit/uvedit_buttons.c index e648caf51d2..78e3811a5fc 100644 --- a/source/blender/editors/uvedit/uvedit_buttons.c +++ b/source/blender/editors/uvedit/uvedit_buttons.c @@ -32,7 +32,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" @@ -47,7 +46,6 @@ #include "BKE_context.h" #include "BKE_customdata.h" -#include "BKE_mesh.h" #include "BKE_screen.h" #include "BKE_editmesh.h" diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index e14bb96b86d..2291418932b 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -33,8 +33,6 @@ #include <stdlib.h> #include <string.h> -#include "MEM_guardedalloc.h" - #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" @@ -46,7 +44,6 @@ #include "BLI_utildefines.h" #include "BKE_DerivedMesh.h" -#include "BKE_mesh.h" #include "BKE_editmesh.h" #include "BLI_buffer.h" @@ -54,7 +51,6 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "ED_util.h" #include "ED_image.h" #include "ED_mesh.h" #include "ED_uvedit.h" diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index dfff8632da3..5169cc73052 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -60,7 +60,6 @@ #include "BKE_library.h" #include "BKE_main.h" #include "BKE_material.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_node.h" #include "BKE_report.h" diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index 1a96ff242f8..ba4b65f4ed4 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -37,7 +37,6 @@ #include "MEM_guardedalloc.h" #include "DNA_object_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_scene_types.h" @@ -52,7 +51,6 @@ #include "BKE_context.h" #include "BKE_customdata.h" #include "BKE_depsgraph.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_editmesh.h" diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 662e0276eb9..21e7bb00204 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -46,10 +46,8 @@ #include "BLI_utildefines.h" #include "BLI_alloca.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BLI_uvproject.h" #include "BLI_string.h" -#include "BLI_scanfill.h" #include "BKE_cdderivedmesh.h" #include "BKE_subsurf.h" @@ -58,7 +56,6 @@ #include "BKE_depsgraph.h" #include "BKE_image.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_report.h" #include "BKE_scene.h" #include "BKE_editmesh.h" |