From 4ca67869cc7ad480670d60eae1df3d2aca03f016 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 1 May 2014 03:55:41 +1000 Subject: Code cleanup: remove unused includes Opted to keep includes if they are used indirectly (even if removing is possible). --- source/blender/blenfont/intern/blf_font.c | 1 - source/blender/blenfont/intern/blf_lang.c | 1 - source/blender/blenkernel/intern/DerivedMesh.c | 6 ------ source/blender/blenkernel/intern/armature.c | 1 - source/blender/blenkernel/intern/blender.c | 4 ---- source/blender/blenkernel/intern/brush.c | 1 - source/blender/blenkernel/intern/cdderivedmesh.c | 1 - source/blender/blenkernel/intern/collision.c | 8 -------- source/blender/blenkernel/intern/colortools.c | 1 - source/blender/blenkernel/intern/constraint.c | 6 ------ source/blender/blenkernel/intern/curve.c | 1 - source/blender/blenkernel/intern/customdata.c | 1 - source/blender/blenkernel/intern/depsgraph.c | 1 - source/blender/blenkernel/intern/displist.c | 3 --- source/blender/blenkernel/intern/dynamicpaint.c | 5 ----- source/blender/blenkernel/intern/editderivedmesh.c | 1 - source/blender/blenkernel/intern/editmesh.c | 2 -- source/blender/blenkernel/intern/editmesh_bvh.c | 2 -- source/blender/blenkernel/intern/effect.c | 21 --------------------- source/blender/blenkernel/intern/font.c | 2 -- source/blender/blenkernel/intern/gpencil.c | 2 -- source/blender/blenkernel/intern/group.c | 1 - source/blender/blenkernel/intern/implicit.c | 1 - source/blender/blenkernel/intern/ipo.c | 1 - source/blender/blenkernel/intern/key.c | 2 -- source/blender/blenkernel/intern/lattice.c | 1 - source/blender/blenkernel/intern/library.c | 3 --- source/blender/blenkernel/intern/library_query.c | 1 - source/blender/blenkernel/intern/linestyle.c | 1 - source/blender/blenkernel/intern/mask.c | 1 - source/blender/blenkernel/intern/mask_evaluate.c | 16 ---------------- source/blender/blenkernel/intern/mesh.c | 1 - source/blender/blenkernel/intern/mesh_mapping.c | 1 - source/blender/blenkernel/intern/modifier.c | 1 - source/blender/blenkernel/intern/modifiers_bmesh.c | 3 --- source/blender/blenkernel/intern/movieclip.c | 2 -- source/blender/blenkernel/intern/node.c | 3 --- source/blender/blenkernel/intern/object.c | 4 ---- source/blender/blenkernel/intern/ocean.c | 1 - source/blender/blenkernel/intern/particle.c | 1 - source/blender/blenkernel/intern/particle_system.c | 6 ------ source/blender/blenkernel/intern/pbvh.c | 2 -- source/blender/blenkernel/intern/pbvh_bmesh.c | 2 -- source/blender/blenkernel/intern/pointcache.c | 3 --- source/blender/blenkernel/intern/rigidbody.c | 6 ------ source/blender/blenkernel/intern/scene.c | 1 - source/blender/blenkernel/intern/seqeffects.c | 4 ---- source/blender/blenkernel/intern/sequencer.c | 1 - source/blender/blenkernel/intern/shrinkwrap.c | 1 - source/blender/blenkernel/intern/smoke.c | 5 ----- source/blender/blenkernel/intern/softbody.c | 1 - source/blender/blenkernel/intern/sound.c | 2 -- source/blender/blenkernel/intern/subsurf_ccg.c | 3 --- source/blender/blenkernel/intern/texture.c | 2 -- source/blender/blenkernel/intern/tracking.c | 2 -- source/blender/blenkernel/intern/tracking_detect.c | 2 -- .../blender/blenkernel/intern/tracking_stabilize.c | 2 -- source/blender/blenlib/intern/fileops.c | 1 - source/blender/blenlib/intern/math_color.c | 2 -- source/blender/blenlib/intern/math_geom.c | 1 - source/blender/blenlib/intern/path_util.c | 3 --- source/blender/blenlib/intern/smallhash.c | 1 - source/blender/blenloader/intern/readblenentry.c | 2 -- source/blender/blenloader/intern/readfile.c | 14 -------------- source/blender/blenloader/intern/versioning_250.c | 1 - source/blender/blenloader/intern/versioning_270.c | 1 - .../blender/blenloader/intern/versioning_legacy.c | 2 -- source/blender/blenloader/intern/writefile.c | 2 -- source/blender/bmesh/intern/bmesh_core.c | 1 - source/blender/bmesh/intern/bmesh_delete.c | 1 - source/blender/bmesh/intern/bmesh_interp.c | 1 - source/blender/bmesh/intern/bmesh_mesh.c | 1 - source/blender/bmesh/intern/bmesh_mods.c | 1 - source/blender/bmesh/intern/bmesh_polygon.c | 1 - source/blender/bmesh/operators/bmo_connect.c | 1 - .../blender/bmesh/tools/bmesh_decimate_collapse.c | 1 - source/blender/editors/animation/anim_draw.c | 2 -- source/blender/editors/animation/drivers.c | 1 - source/blender/editors/animation/keyframes_draw.c | 17 ----------------- source/blender/editors/animation/keyframes_edit.c | 14 -------------- .../blender/editors/animation/keyframes_general.c | 1 - source/blender/editors/animation/keyframing.c | 2 -- source/blender/editors/animation/keyingsets.c | 2 -- .../blender/editors/armature/armature_relations.c | 1 - .../editors/armature/editarmature_retarget.c | 1 - source/blender/editors/armature/pose_edit.c | 2 -- source/blender/editors/armature/pose_select.c | 1 - source/blender/editors/curve/editfont.c | 1 - source/blender/editors/gpencil/drawgpencil.c | 4 ---- .../blender/editors/gpencil/editaction_gpencil.c | 2 -- source/blender/editors/gpencil/gpencil_buttons.c | 1 - source/blender/editors/gpencil/gpencil_edit.c | 1 - source/blender/editors/interface/interface.c | 1 - source/blender/editors/interface/interface_draw.c | 1 - source/blender/editors/interface/interface_icons.c | 1 - source/blender/editors/interface/interface_panel.c | 1 - .../blender/editors/interface/interface_regions.c | 2 -- source/blender/editors/interface/interface_style.c | 1 - .../editors/interface/interface_templates.c | 6 ------ source/blender/editors/interface/interface_utils.c | 1 - .../blender/editors/interface/interface_widgets.c | 1 - source/blender/editors/interface/view2d.c | 3 --- source/blender/editors/mask/mask_add.c | 1 - source/blender/editors/mask/mask_editaction.c | 2 -- source/blender/editors/mask/mask_relationships.c | 1 - source/blender/editors/mask/mask_select.c | 2 -- source/blender/editors/mask/mask_shapekey.c | 1 - source/blender/editors/mesh/editface.c | 1 - source/blender/editors/mesh/editmesh_add.c | 1 - source/blender/editors/mesh/editmesh_bisect.c | 1 - source/blender/editors/mesh/editmesh_select.c | 3 --- source/blender/editors/mesh/editmesh_utils.c | 1 - source/blender/editors/mesh/mesh_ops.c | 1 - source/blender/editors/metaball/mball_edit.c | 1 - source/blender/editors/object/object_add.c | 3 --- source/blender/editors/object/object_bake.c | 2 -- source/blender/editors/object/object_constraint.c | 1 - source/blender/editors/object/object_edit.c | 3 --- source/blender/editors/object/object_hook.c | 2 -- source/blender/editors/object/object_lod.c | 1 - source/blender/editors/object/object_ops.c | 2 -- source/blender/editors/object/object_relations.c | 2 -- source/blender/editors/object/object_select.c | 3 --- source/blender/editors/object/object_vgroup.c | 2 -- source/blender/editors/physics/particle_boids.c | 1 - source/blender/editors/physics/particle_edit.c | 2 -- source/blender/editors/physics/physics_fluid.c | 15 --------------- .../blender/editors/physics/physics_pointcache.c | 7 ------- .../blender/editors/physics/rigidbody_constraint.c | 5 ----- source/blender/editors/physics/rigidbody_world.c | 7 ------- source/blender/editors/render/render_internal.c | 4 ---- source/blender/editors/render/render_opengl.c | 6 ------ source/blender/editors/render/render_preview.c | 5 ----- source/blender/editors/render/render_shading.c | 4 ---- source/blender/editors/render/render_update.c | 7 ------- source/blender/editors/render/render_view.c | 7 ------- source/blender/editors/screen/area.c | 3 --- source/blender/editors/screen/glutil.c | 4 ---- source/blender/editors/screen/screen_context.c | 1 - source/blender/editors/screen/screen_edit.c | 2 -- source/blender/editors/screen/screen_ops.c | 3 --- source/blender/editors/sculpt_paint/paint_hide.c | 1 - source/blender/editors/sculpt_paint/paint_image.c | 16 ---------------- .../blender/editors/sculpt_paint/paint_image_2d.c | 2 -- .../editors/sculpt_paint/paint_image_proj.c | 12 ------------ source/blender/editors/sculpt_paint/paint_mask.c | 1 - source/blender/editors/sculpt_paint/paint_ops.c | 1 - source/blender/editors/sculpt_paint/paint_vertex.c | 2 -- source/blender/editors/sculpt_paint/sculpt.c | 7 ------- source/blender/editors/sculpt_paint/sculpt_undo.c | 2 -- source/blender/editors/sculpt_paint/sculpt_uv.c | 3 --- source/blender/editors/sound/sound_ops.c | 1 - source/blender/editors/space_action/action_draw.c | 1 - source/blender/editors/space_action/action_edit.c | 2 -- source/blender/editors/space_action/action_ops.c | 1 - .../blender/editors/space_action/action_select.c | 1 - .../editors/space_buttons/buttons_context.c | 1 - .../blender/editors/space_buttons/space_buttons.c | 4 ---- source/blender/editors/space_clip/clip_buttons.c | 2 -- .../editors/space_clip/clip_dopesheet_draw.c | 6 ------ .../editors/space_clip/clip_dopesheet_ops.c | 5 ----- source/blender/editors/space_clip/clip_draw.c | 5 ----- source/blender/editors/space_clip/clip_editor.c | 3 --- .../blender/editors/space_clip/clip_graph_draw.c | 5 ----- source/blender/editors/space_clip/clip_graph_ops.c | 5 ----- source/blender/editors/space_clip/clip_ops.c | 1 - source/blender/editors/space_clip/space_clip.c | 1 - source/blender/editors/space_clip/tracking_ops.c | 5 ----- .../blender/editors/space_clip/tracking_select.c | 16 ---------------- .../blender/editors/space_console/console_draw.c | 8 -------- source/blender/editors/space_console/console_ops.c | 1 - .../blender/editors/space_console/space_console.c | 2 -- source/blender/editors/space_file/file_draw.c | 3 --- source/blender/editors/space_file/filelist.c | 1 - source/blender/editors/space_file/filesel.c | 2 -- source/blender/editors/space_file/fsmenu.c | 4 ---- source/blender/editors/space_file/space_file.c | 1 - source/blender/editors/space_graph/graph_draw.c | 3 --- source/blender/editors/space_graph/graph_edit.c | 1 - source/blender/editors/space_graph/graph_ops.c | 2 -- source/blender/editors/space_graph/graph_select.c | 1 - source/blender/editors/space_image/image_buttons.c | 7 ------- source/blender/editors/space_image/image_draw.c | 3 --- source/blender/editors/space_image/image_edit.c | 2 -- source/blender/editors/space_image/image_ops.c | 1 - source/blender/editors/space_image/space_image.c | 4 ---- source/blender/editors/space_info/info_draw.c | 7 ------- source/blender/editors/space_info/info_report.c | 1 - source/blender/editors/space_info/info_stats.c | 3 --- source/blender/editors/space_info/space_info.c | 1 - source/blender/editors/space_info/textview.c | 3 --- source/blender/editors/space_logic/logic_ops.c | 6 ------ source/blender/editors/space_logic/logic_window.c | 8 -------- source/blender/editors/space_logic/space_logic.c | 1 - source/blender/editors/space_nla/nla_buttons.c | 1 - source/blender/editors/space_nla/nla_channels.c | 1 - source/blender/editors/space_nla/nla_draw.c | 1 - source/blender/editors/space_nla/nla_ops.c | 1 - source/blender/editors/space_nla/nla_select.c | 1 - source/blender/editors/space_nla/space_nla.c | 1 - source/blender/editors/space_node/drawnode.c | 3 --- source/blender/editors/space_node/node_draw.c | 2 -- source/blender/editors/space_node/node_edit.c | 6 ------ source/blender/editors/space_node/node_group.c | 3 --- .../editors/space_node/node_relationships.c | 2 -- source/blender/editors/space_node/node_select.c | 1 - .../blender/editors/space_outliner/outliner_draw.c | 1 - .../editors/space_outliner/outliner_select.c | 3 --- .../editors/space_outliner/outliner_tools.c | 2 -- .../blender/editors/space_outliner/outliner_tree.c | 2 -- .../editors/space_outliner/space_outliner.c | 2 -- .../editors/space_sequencer/sequencer_add.c | 2 -- .../editors/space_sequencer/sequencer_draw.c | 4 ---- .../editors/space_sequencer/sequencer_edit.c | 3 --- .../editors/space_sequencer/sequencer_ops.c | 7 ------- .../editors/space_sequencer/sequencer_select.c | 2 -- .../editors/space_sequencer/space_sequencer.c | 2 -- source/blender/editors/space_text/text_ops.c | 1 - source/blender/editors/space_time/space_time.c | 1 - source/blender/editors/space_view3d/drawmesh.c | 4 ---- source/blender/editors/space_view3d/drawobject.c | 1 - source/blender/editors/space_view3d/drawvolume.c | 22 +--------------------- source/blender/editors/space_view3d/space_view3d.c | 2 -- .../blender/editors/space_view3d/view3d_buttons.c | 4 ---- source/blender/editors/space_view3d/view3d_edit.c | 2 -- .../blender/editors/space_view3d/view3d_header.c | 8 -------- .../editors/space_view3d/view3d_iterators.c | 3 --- source/blender/editors/space_view3d/view3d_ops.c | 1 - .../blender/editors/space_view3d/view3d_select.c | 1 - .../blender/editors/space_view3d/view3d_toolbar.c | 2 -- source/blender/editors/space_view3d/view3d_view.c | 2 -- source/blender/editors/space_view3d/view3d_walk.c | 1 - source/blender/editors/transform/transform.c | 6 ------ .../editors/transform/transform_conversions.c | 2 -- .../blender/editors/transform/transform_generics.c | 3 --- .../editors/transform/transform_manipulator.c | 5 ----- source/blender/editors/transform/transform_ops.c | 2 -- .../editors/transform/transform_orientations.c | 3 --- source/blender/editors/transform/transform_snap.c | 3 --- source/blender/editors/util/editmode_undo.c | 2 -- source/blender/editors/util/undo.c | 3 --- source/blender/editors/uvedit/uvedit_buttons.c | 2 -- source/blender/editors/uvedit/uvedit_draw.c | 4 ---- source/blender/editors/uvedit/uvedit_ops.c | 1 - .../blender/editors/uvedit/uvedit_smart_stitch.c | 2 -- source/blender/editors/uvedit/uvedit_unwrap_ops.c | 3 --- source/blender/gpu/intern/gpu_buffers.c | 2 -- source/blender/gpu/intern/gpu_codegen.c | 1 - source/blender/imbuf/intern/allocimbuf.c | 2 -- source/blender/imbuf/intern/anim_movie.c | 4 +--- source/blender/imbuf/intern/cineon/cineonlib.c | 1 - source/blender/imbuf/intern/cineon/dpxlib.c | 1 - source/blender/imbuf/intern/colormanagement.c | 3 --- .../blender/imbuf/intern/dds/DirectDrawSurface.cpp | 16 ++++++++-------- source/blender/imbuf/intern/divers.c | 1 - source/blender/imbuf/intern/imageprocess.c | 1 - source/blender/imbuf/intern/indexer.c | 2 -- source/blender/imbuf/intern/jpeg.c | 1 - source/blender/imbuf/intern/radiance_hdr.c | 1 - source/blender/imbuf/intern/thumbs.c | 3 --- source/blender/modifiers/intern/MOD_array.c | 4 ---- source/blender/modifiers/intern/MOD_bevel.c | 4 ---- source/blender/modifiers/intern/MOD_boolean_util.c | 3 --- source/blender/modifiers/intern/MOD_build.c | 1 - source/blender/modifiers/intern/MOD_cast.c | 1 - source/blender/modifiers/intern/MOD_collision.c | 2 -- source/blender/modifiers/intern/MOD_curve.c | 1 - source/blender/modifiers/intern/MOD_displace.c | 2 -- source/blender/modifiers/intern/MOD_dynamicpaint.c | 2 -- source/blender/modifiers/intern/MOD_explode.c | 1 - .../blender/modifiers/intern/MOD_fluidsim_util.c | 3 --- source/blender/modifiers/intern/MOD_hook.c | 2 -- .../blender/modifiers/intern/MOD_laplaciandeform.c | 1 - .../blender/modifiers/intern/MOD_laplaciansmooth.c | 6 ------ source/blender/modifiers/intern/MOD_mask.c | 2 -- .../blender/modifiers/intern/MOD_meshcache_pc2.c | 1 - .../blender/modifiers/intern/MOD_meshcache_util.c | 4 ---- source/blender/modifiers/intern/MOD_meshdeform.c | 2 -- source/blender/modifiers/intern/MOD_mirror.c | 1 - source/blender/modifiers/intern/MOD_ocean.c | 5 ----- .../blender/modifiers/intern/MOD_particlesystem.c | 2 -- source/blender/modifiers/intern/MOD_remesh.c | 1 - source/blender/modifiers/intern/MOD_shapekey.c | 4 ---- source/blender/modifiers/intern/MOD_simpledeform.c | 2 -- source/blender/modifiers/intern/MOD_skin.c | 3 --- source/blender/modifiers/intern/MOD_smooth.c | 1 - source/blender/modifiers/intern/MOD_solidify.c | 1 - source/blender/modifiers/intern/MOD_util.c | 1 - source/blender/modifiers/intern/MOD_uvproject.c | 2 -- source/blender/modifiers/intern/MOD_uvwarp.c | 1 - source/blender/modifiers/intern/MOD_warp.c | 1 - source/blender/modifiers/intern/MOD_wave.c | 2 -- source/blender/modifiers/intern/MOD_weightvgedit.c | 3 --- source/blender/modifiers/intern/MOD_weightvgmix.c | 3 --- .../modifiers/intern/MOD_weightvgproximity.c | 2 -- .../blender/nodes/composite/node_composite_tree.c | 4 ---- source/blender/nodes/intern/node_common.c | 6 ------ source/blender/nodes/intern/node_exec.c | 1 - source/blender/nodes/intern/node_socket.c | 1 - source/blender/nodes/intern/node_util.c | 1 - .../python/bmesh/bmesh_py_types_customdata.c | 1 - .../blender/python/bmesh/bmesh_py_types_select.c | 2 -- source/blender/python/generic/idprop_py_api.c | 1 - .../blender/python/intern/bpy_app_build_options.c | 1 - source/blender/python/intern/bpy_interface.c | 2 -- source/blender/python/intern/bpy_library.c | 1 - source/blender/python/intern/bpy_rna.c | 2 -- source/blender/python/intern/bpy_rna_array.c | 1 - source/blender/python/intern/bpy_traceback.c | 1 - source/blender/python/intern/gpu.c | 2 -- source/blender/python/mathutils/mathutils_noise.c | 3 --- source/blender/render/intern/source/bake.c | 1 - .../blender/render/intern/source/convertblender.c | 20 -------------------- source/blender/render/intern/source/envmap.c | 5 ----- source/blender/render/intern/source/imagetexture.c | 5 ----- source/blender/render/intern/source/initrender.c | 11 ----------- .../blender/render/intern/source/multires_bake.c | 1 - source/blender/render/intern/source/occlusion.c | 2 -- source/blender/render/intern/source/pipeline.c | 2 -- .../blender/render/intern/source/pixelblending.c | 2 -- source/blender/render/intern/source/pixelshading.c | 5 ----- source/blender/render/intern/source/pointdensity.c | 2 -- source/blender/render/intern/source/rayshade.c | 1 - .../blender/render/intern/source/render_result.c | 2 -- .../blender/render/intern/source/render_texture.c | 6 ------ source/blender/render/intern/source/rendercore.c | 11 ----------- .../blender/render/intern/source/renderdatabase.c | 4 ---- source/blender/render/intern/source/shadeinput.c | 4 ---- source/blender/render/intern/source/sss.c | 3 --- source/blender/render/intern/source/sunsky.c | 1 - .../blender/render/intern/source/volume_precache.c | 1 - source/blender/render/intern/source/volumetric.c | 5 ----- source/blender/render/intern/source/zbuf.c | 1 - source/blender/windowmanager/intern/wm.c | 1 - source/blender/windowmanager/intern/wm_dragdrop.c | 5 ----- source/blender/windowmanager/intern/wm_draw.c | 2 -- .../blender/windowmanager/intern/wm_event_system.c | 2 -- source/blender/windowmanager/intern/wm_files.c | 9 --------- source/blender/windowmanager/intern/wm_init_exit.c | 6 ------ source/blender/windowmanager/intern/wm_jobs.c | 5 ----- source/blender/windowmanager/intern/wm_keymap.c | 2 -- source/blender/windowmanager/intern/wm_operators.c | 1 - source/blender/windowmanager/intern/wm_playanim.c | 3 --- source/blender/windowmanager/intern/wm_subwindow.c | 2 -- source/creator/creator.c | 1 - 345 files changed, 10 insertions(+), 997 deletions(-) diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index b9d1669484b..2bdae87dc83 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -54,7 +54,6 @@ #include "BLI_string_utf8.h" #include "BLI_threads.h" #include "BLI_alloca.h" -#include "BLI_linklist.h" /* linknode */ #include "BIF_gl.h" #include "BLF_api.h" diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 623d8b7652a..2852b8161c8 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -42,7 +42,6 @@ #include "BLI_path_util.h" #include "BLI_string.h" -#include "BKE_global.h" #include "DNA_userdef_types.h" diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 84bf9802304..c42289f2004 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -39,19 +39,15 @@ #include "DNA_key_types.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" -#include "DNA_armature_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_memarena.h" #include "BLI_utildefines.h" #include "BLI_linklist.h" -#include "BKE_pbvh.h" #include "BKE_cdderivedmesh.h" -#include "BKE_displist.h" #include "BKE_editmesh.h" #include "BKE_key.h" #include "BKE_material.h" @@ -63,8 +59,6 @@ #include "BKE_paint.h" #include "BKE_texture.h" #include "BKE_multires.h" -#include "BKE_armature.h" -#include "BKE_particle.h" #include "BKE_bvhutils.h" #include "BKE_deform.h" #include "BKE_global.h" /* For debug flag, DM_update_tessface_data() func. */ diff --git a/source/blender/blenkernel/intern/armature.c b/source/blender/blenkernel/intern/armature.c index 6d01d9ff14b..d030de0d7ec 100644 --- a/source/blender/blenkernel/intern/armature.c +++ b/source/blender/blenkernel/intern/armature.c @@ -47,7 +47,6 @@ #include "DNA_mesh_types.h" #include "DNA_lattice_types.h" #include "DNA_meshdata_types.h" -#include "DNA_nla_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index aa860cf72ff..468d39709d7 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -56,12 +56,9 @@ #include "DNA_userdef_types.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" -#include "DNA_sequence_types.h" -#include "DNA_sound_types.h" #include "DNA_windowmanager_types.h" #include "BLI_blenlib.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BLI_callbacks.h" @@ -73,7 +70,6 @@ #include "BKE_brush.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_displist.h" #include "BKE_global.h" #include "BKE_idprop.h" #include "BKE_image.h" diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 8e611a1e358..967e89e0dd1 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -38,7 +38,6 @@ #include "BKE_brush.h" #include "BKE_colortools.h" #include "BKE_global.h" -#include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_paint.h" diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c index 5272332777f..fae9c387f41 100644 --- a/source/blender/blenkernel/intern/cdderivedmesh.c +++ b/source/blender/blenkernel/intern/cdderivedmesh.c @@ -40,7 +40,6 @@ #include "BLI_blenlib.h" #include "BLI_edgehash.h" #include "BLI_utildefines.h" -#include "BLI_scanfill.h" #include "BKE_pbvh.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/blenkernel/intern/collision.c b/source/blender/blenkernel/intern/collision.c index f7e522811fa..cedd9eae597 100644 --- a/source/blender/blenkernel/intern/collision.c +++ b/source/blender/blenkernel/intern/collision.c @@ -34,7 +34,6 @@ #include "DNA_cloth_types.h" #include "DNA_group_types.h" -#include "DNA_mesh_types.h" #include "DNA_object_types.h" #include "DNA_object_force.h" #include "DNA_scene_types.h" @@ -44,16 +43,9 @@ #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_edgehash.h" -#include "BLI_ghash.h" -#include "BLI_memarena.h" -#include "BLI_rand.h" -#include "BKE_DerivedMesh.h" #include "BKE_cloth.h" -#include "BKE_global.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "BKE_scene.h" #ifdef WITH_BULLET diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c index e90f50d568a..c6d07a959d1 100644 --- a/source/blender/blenkernel/intern/colortools.c +++ b/source/blender/blenkernel/intern/colortools.c @@ -47,7 +47,6 @@ #include "BKE_colortools.h" #include "BKE_curve.h" #include "BKE_fcurve.h" -#include "BKE_paint.h" #include "IMB_colormanagement.h" diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index d2ae005bc82..52cfa92ceaf 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -46,18 +46,15 @@ #include "BLF_translation.h" #include "DNA_armature_types.h" -#include "DNA_camera_types.h" #include "DNA_constraint_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" #include "DNA_action_types.h" #include "DNA_curve_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_lattice_types.h" #include "DNA_scene_types.h" -#include "DNA_text_types.h" #include "DNA_tracking_types.h" #include "DNA_movieclip_types.h" @@ -65,7 +62,6 @@ #include "BKE_action.h" #include "BKE_anim.h" /* for the curve calculation part */ #include "BKE_armature.h" -#include "BKE_blender.h" #include "BKE_bvhutils.h" #include "BKE_camera.h" #include "BKE_constraint.h" @@ -75,11 +71,9 @@ #include "BKE_DerivedMesh.h" /* for geometry targets */ #include "BKE_cdderivedmesh.h" /* for geometry targets */ #include "BKE_object.h" -#include "BKE_ipo.h" #include "BKE_global.h" #include "BKE_library.h" #include "BKE_idprop.h" -#include "BKE_mesh.h" #include "BKE_shrinkwrap.h" #include "BKE_editmesh.h" #include "BKE_tracking.h" diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index da403864aa7..d73426292e9 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -51,7 +51,6 @@ #include "DNA_object_types.h" #include "BKE_animsys.h" -#include "BKE_anim.h" #include "BKE_curve.h" #include "BKE_displist.h" #include "BKE_font.h" diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index e942e790f05..fd4350123b4 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -49,7 +49,6 @@ #include "BLI_path_util.h" #include "BLI_math.h" #include "BLI_mempool.h" -#include "BLI_alloca.h" #include "BLF_translation.h" diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index df1695daf5b..54709273c47 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -64,7 +64,6 @@ #include "BKE_effect.h" #include "BKE_fcurve.h" #include "BKE_global.h" -#include "BKE_group.h" #include "BKE_image.h" #include "BKE_key.h" #include "BKE_library.h" diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 7e4d6c47c50..8c21ee15da2 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -40,7 +40,6 @@ #include "DNA_meshdata_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" -#include "DNA_material_types.h" #include "DNA_vfont_types.h" #include "BLI_blenlib.h" @@ -54,9 +53,7 @@ #include "BKE_displist.h" #include "BKE_cdderivedmesh.h" #include "BKE_object.h" -#include "BKE_main.h" #include "BKE_mball.h" -#include "BKE_material.h" #include "BKE_curve.h" #include "BKE_key.h" #include "BKE_anim.h" diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c index 682a429ca99..11737bccef2 100644 --- a/source/blender/blenkernel/intern/dynamicpaint.c +++ b/source/blender/blenkernel/intern/dynamicpaint.c @@ -48,20 +48,15 @@ #include "DNA_modifier_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "DNA_space_types.h" #include "DNA_texture_types.h" #include "BKE_animsys.h" #include "BKE_armature.h" #include "BKE_bvhutils.h" /* bvh tree */ -#include "BKE_blender.h" #include "BKE_cdderivedmesh.h" #include "BKE_constraint.h" -#include "BKE_context.h" #include "BKE_customdata.h" -#include "BKE_colortools.h" #include "BKE_deform.h" -#include "BKE_depsgraph.h" #include "BKE_DerivedMesh.h" #include "BKE_dynamicpaint.h" #include "BKE_effect.h" diff --git a/source/blender/blenkernel/intern/editderivedmesh.c b/source/blender/blenkernel/intern/editderivedmesh.c index 9668aa9f1e8..99e7282fb79 100644 --- a/source/blender/blenkernel/intern/editderivedmesh.c +++ b/source/blender/blenkernel/intern/editderivedmesh.c @@ -52,7 +52,6 @@ #include "BKE_editmesh.h" #include "BKE_editmesh_bvh.h" -#include "DNA_mesh_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" diff --git a/source/blender/blenkernel/intern/editmesh.c b/source/blender/blenkernel/intern/editmesh.c index 65faf59978a..2247b91df1d 100644 --- a/source/blender/blenkernel/intern/editmesh.c +++ b/source/blender/blenkernel/intern/editmesh.c @@ -36,8 +36,6 @@ #include "DNA_mesh_types.h" #include "BLI_math.h" -#include "BLI_memarena.h" -#include "BLI_scanfill.h" #include "BKE_editmesh.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/blenkernel/intern/editmesh_bvh.c b/source/blender/blenkernel/intern/editmesh_bvh.c index 943469eb4f0..76ea340ecbd 100644 --- a/source/blender/blenkernel/intern/editmesh_bvh.c +++ b/source/blender/blenkernel/intern/editmesh_bvh.c @@ -31,8 +31,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_object_types.h" - #include "BLI_math.h" #include "BLI_kdopbvh.h" diff --git a/source/blender/blenkernel/intern/effect.c b/source/blender/blenkernel/intern/effect.c index 91d12d39af4..e28152dbc1a 100644 --- a/source/blender/blenkernel/intern/effect.c +++ b/source/blender/blenkernel/intern/effect.c @@ -37,15 +37,9 @@ #include "MEM_guardedalloc.h" #include "DNA_curve_types.h" -#include "DNA_effect_types.h" #include "DNA_group_types.h" -#include "DNA_ipo_types.h" -#include "DNA_key_types.h" -#include "DNA_lattice_types.h" #include "DNA_listBase.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" -#include "DNA_material_types.h" #include "DNA_object_types.h" #include "DNA_object_force.h" #include "DNA_particle_types.h" @@ -60,27 +54,13 @@ #include "PIL_time.h" -#include "BKE_action.h" #include "BKE_anim.h" /* needed for where_on_path */ -#include "BKE_armature.h" -#include "BKE_blender.h" #include "BKE_collision.h" -#include "BKE_constraint.h" #include "BKE_curve.h" -#include "BKE_deform.h" -#include "BKE_depsgraph.h" #include "BKE_displist.h" #include "BKE_DerivedMesh.h" #include "BKE_cdderivedmesh.h" #include "BKE_effect.h" -#include "BKE_global.h" -#include "BKE_group.h" -#include "BKE_ipo.h" -#include "BKE_key.h" -#include "BKE_lattice.h" -#include "BKE_mesh.h" -#include "BKE_material.h" -#include "BKE_main.h" #include "BKE_modifier.h" #include "BKE_object.h" #include "BKE_particle.h" @@ -93,7 +73,6 @@ /* fluid sim particle import */ #ifdef WITH_MOD_FLUID -#include "DNA_object_fluidsim.h" #include "LBM_fluidsim.h" #include #include diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 6bef88b7f43..ef861e2844c 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -52,7 +52,6 @@ #include "DNA_packedFile_types.h" #include "DNA_curve_types.h" #include "DNA_vfont_types.h" -#include "DNA_scene_types.h" #include "DNA_object_types.h" #include "BKE_packedFile.h" @@ -62,7 +61,6 @@ #include "BKE_main.h" #include "BKE_anim.h" #include "BKE_curve.h" -#include "BKE_displist.h" static ThreadRWMutex vfont_rwlock = BLI_RWLOCK_INITIALIZER; diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index 2eed25cde0e..c381084cfd2 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -48,8 +48,6 @@ #include "BKE_global.h" #include "BKE_gpencil.h" #include "BKE_library.h" -#include "BKE_main.h" - /* ************************************************** */ diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c index e84db7e1f82..6ea6bafaa14 100644 --- a/source/blender/blenkernel/intern/group.c +++ b/source/blender/blenkernel/intern/group.c @@ -39,7 +39,6 @@ #include "DNA_group_types.h" #include "DNA_material_types.h" #include "DNA_object_types.h" -#include "DNA_nla_types.h" #include "DNA_scene_types.h" #include "DNA_particle_types.h" diff --git a/source/blender/blenkernel/intern/implicit.c b/source/blender/blenkernel/intern/implicit.c index bf70e0d6aa5..e28fb59cfe6 100644 --- a/source/blender/blenkernel/intern/implicit.c +++ b/source/blender/blenkernel/intern/implicit.c @@ -37,7 +37,6 @@ #include "DNA_object_force.h" #include "DNA_meshdata_types.h" -#include "BLI_threads.h" #include "BLI_math.h" #include "BLI_linklist.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index cf66d866c2c..6f7ee31691e 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -60,7 +60,6 @@ #include "DNA_world_types.h" #include "DNA_object_types.h" -#include "BLI_math.h" /* windows needs for M_PI */ #include "BLI_blenlib.h" #include "BLI_dynstr.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c index 333119f1f8e..0f04c03688c 100644 --- a/source/blender/blenkernel/intern/key.c +++ b/source/blender/blenkernel/intern/key.c @@ -59,8 +59,6 @@ #include "BKE_lattice.h" #include "BKE_library.h" #include "BKE_editmesh.h" -#include "BKE_main.h" -#include "BKE_object.h" #include "BKE_scene.h" diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c index 30ca7b4c396..51fbb86b38e 100644 --- a/source/blender/blenkernel/intern/lattice.c +++ b/source/blender/blenkernel/intern/lattice.c @@ -59,7 +59,6 @@ #include "BKE_lattice.h" #include "BKE_library.h" #include "BKE_main.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_deform.h" diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 3ebb3a09e5f..a899f81b0d6 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -57,7 +57,6 @@ #include "DNA_meta_types.h" #include "DNA_movieclip_types.h" #include "DNA_mask_types.h" -#include "DNA_nla_types.h" #include "DNA_node_types.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" @@ -69,7 +68,6 @@ #include "DNA_world_types.h" #include "BLI_blenlib.h" -#include "BLI_dynstr.h" #include "BLI_utildefines.h" #include "BLF_translation.h" @@ -89,7 +87,6 @@ #include "BKE_group.h" #include "BKE_gpencil.h" #include "BKE_idprop.h" -#include "BKE_icons.h" #include "BKE_image.h" #include "BKE_ipo.h" #include "BKE_key.h" diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index c6e53dfb7db..b59cc74f69e 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -29,7 +29,6 @@ #include -#include "MEM_guardedalloc.h" #include "DNA_anim_types.h" #include "DNA_brush_types.h" diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 78d062ce1f7..54ae0120c1b 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -46,7 +46,6 @@ #include "BKE_global.h" #include "BKE_library.h" #include "BKE_linestyle.h" -#include "BKE_main.h" #include "BKE_texture.h" #include "BKE_colortools.h" #include "BKE_animsys.h" diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c index 8548e363233..8c1cc4b0279 100644 --- a/source/blender/blenkernel/intern/mask.c +++ b/source/blender/blenkernel/intern/mask.c @@ -50,7 +50,6 @@ #include "DNA_sequence_types.h" #include "BKE_curve.h" -#include "BKE_global.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_mask.h" diff --git a/source/blender/blenkernel/intern/mask_evaluate.c b/source/blender/blenkernel/intern/mask_evaluate.c index e67ffc8511b..3ed6148054c 100644 --- a/source/blender/blenkernel/intern/mask_evaluate.c +++ b/source/blender/blenkernel/intern/mask_evaluate.c @@ -37,30 +37,14 @@ #include "MEM_guardedalloc.h" #include "BLI_utildefines.h" -#include "BLI_path_util.h" -#include "BLI_string.h" -#include "BLI_listbase.h" #include "BLI_math.h" #include "DNA_mask_types.h" #include "DNA_node_types.h" #include "DNA_scene_types.h" -#include "DNA_object_types.h" -#include "DNA_screen_types.h" -#include "DNA_space_types.h" -#include "DNA_movieclip_types.h" -#include "DNA_tracking_types.h" -#include "DNA_sequence_types.h" #include "BKE_curve.h" -#include "BKE_global.h" -#include "BKE_library.h" -#include "BKE_main.h" #include "BKE_mask.h" -#include "BKE_node.h" -#include "BKE_sequencer.h" -#include "BKE_tracking.h" -#include "BKE_movieclip.h" unsigned int BKE_mask_spline_resolution(MaskSpline *spline, int width, int height) diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 471e08145bb..f2ff350178f 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -40,7 +40,6 @@ #include "BLI_math.h" #include "BLI_listbase.h" #include "BLI_edgehash.h" -#include "BLI_string_utf8.h" #include "BLI_string.h" #include "BKE_animsys.h" diff --git a/source/blender/blenkernel/intern/mesh_mapping.c b/source/blender/blenkernel/intern/mesh_mapping.c index 4d63ed4e998..65c576dd6a0 100644 --- a/source/blender/blenkernel/intern/mesh_mapping.c +++ b/source/blender/blenkernel/intern/mesh_mapping.c @@ -29,7 +29,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index a3801fa29fe..563831616de 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -57,7 +57,6 @@ #include "BLF_translation.h" -#include "BKE_cloth.h" #include "BKE_key.h" #include "BKE_multires.h" #include "BKE_DerivedMesh.h" diff --git a/source/blender/blenkernel/intern/modifiers_bmesh.c b/source/blender/blenkernel/intern/modifiers_bmesh.c index 3cb607730d4..c1726da32ae 100644 --- a/source/blender/blenkernel/intern/modifiers_bmesh.c +++ b/source/blender/blenkernel/intern/modifiers_bmesh.c @@ -33,9 +33,6 @@ #include "BLI_math.h" #include "BLI_alloca.h" -#include "DNA_object_types.h" - - #include "BKE_DerivedMesh.h" #include "BKE_editmesh.h" diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c index 63f0d05809f..a69d8d3ee7e 100644 --- a/source/blender/blenkernel/intern/movieclip.c +++ b/source/blender/blenkernel/intern/movieclip.c @@ -65,7 +65,6 @@ #include "BLI_threads.h" #include "BKE_animsys.h" -#include "BKE_constraint.h" #include "BKE_colortools.h" #include "BKE_library.h" #include "BKE_global.h" @@ -74,7 +73,6 @@ #include "BKE_node.h" #include "BKE_image.h" /* openanim */ #include "BKE_tracking.h" -#include "BKE_sequencer.h" #include "IMB_colormanagement.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index a99d1303b85..db65e8c30d4 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -54,11 +54,8 @@ #include "BLF_translation.h" #include "BKE_animsys.h" -#include "BKE_action.h" -#include "BKE_fcurve.h" #include "BKE_global.h" #include "BKE_idprop.h" -#include "BKE_image.h" #include "BKE_library.h" #include "BKE_main.h" #include "BKE_node.h" diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 6f4fe636de3..f3dd2eeae2c 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -52,7 +52,6 @@ #include "DNA_screen_types.h" #include "DNA_sequence_types.h" #include "DNA_smoke_types.h" -#include "DNA_sound_types.h" #include "DNA_space_types.h" #include "DNA_view3d_types.h" #include "DNA_world_types.h" @@ -76,7 +75,6 @@ #include "BKE_armature.h" #include "BKE_action.h" #include "BKE_bullet.h" -#include "BKE_colortools.h" #include "BKE_deform.h" #include "BKE_depsgraph.h" #include "BKE_DerivedMesh.h" @@ -88,7 +86,6 @@ #include "BKE_effect.h" #include "BKE_fcurve.h" #include "BKE_group.h" -#include "BKE_icons.h" #include "BKE_key.h" #include "BKE_lamp.h" #include "BKE_lattice.h" @@ -98,7 +95,6 @@ #include "BKE_editmesh.h" #include "BKE_mball.h" #include "BKE_modifier.h" -#include "BKE_node.h" #include "BKE_object.h" #include "BKE_paint.h" #include "BKE_particle.h" diff --git a/source/blender/blenkernel/intern/ocean.c b/source/blender/blenkernel/intern/ocean.c index 6f278ae1244..373ad34e7bd 100644 --- a/source/blender/blenkernel/intern/ocean.c +++ b/source/blender/blenkernel/intern/ocean.c @@ -41,7 +41,6 @@ #include "BLI_math.h" #include "BLI_path_util.h" #include "BLI_rand.h" -#include "BLI_string.h" #include "BLI_threads.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index df7de5be6b6..eb657bac312 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -71,7 +71,6 @@ #include "BKE_displist.h" #include "BKE_particle.h" -#include "BKE_object.h" #include "BKE_material.h" #include "BKE_key.h" #include "BKE_library.h" diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 846ab10412e..e87bda69cc0 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -54,12 +54,9 @@ #include "DNA_modifier_types.h" #include "DNA_object_force.h" #include "DNA_object_types.h" -#include "DNA_material_types.h" #include "DNA_curve_types.h" -#include "DNA_group_types.h" #include "DNA_scene_types.h" #include "DNA_texture_types.h" -#include "DNA_ipo_types.h" // XXX old animation system stuff... to be removed! #include "DNA_listBase.h" #include "BLI_utildefines.h" @@ -74,12 +71,10 @@ #include "BLI_threads.h" #include "BLI_linklist.h" -#include "BKE_main.h" #include "BKE_animsys.h" #include "BKE_boids.h" #include "BKE_cdderivedmesh.h" #include "BKE_collision.h" -#include "BKE_displist.h" #include "BKE_effect.h" #include "BKE_particle.h" #include "BKE_global.h" @@ -88,7 +83,6 @@ #include "BKE_object.h" #include "BKE_material.h" #include "BKE_cloth.h" -#include "BKE_depsgraph.h" #include "BKE_lattice.h" #include "BKE_pointcache.h" #include "BKE_mesh.h" diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index ac25dd02337..5327f4dc3be 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -35,9 +35,7 @@ #include "BKE_ccg.h" #include "BKE_DerivedMesh.h" #include "BKE_mesh.h" /* for BKE_mesh_calc_normals */ -#include "BKE_global.h" /* for BKE_mesh_calc_normals */ #include "BKE_paint.h" -#include "BKE_subsurf.h" #include "GPU_buffers.h" diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c index e2e4592403c..b5495ded487 100644 --- a/source/blender/blenkernel/intern/pbvh_bmesh.c +++ b/source/blender/blenkernel/intern/pbvh_bmesh.c @@ -32,8 +32,6 @@ #include "BKE_ccg.h" #include "BKE_DerivedMesh.h" -#include "BKE_global.h" -#include "BKE_paint.h" #include "BKE_pbvh.h" #include "GPU_buffers.h" diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index 86649aca962..c8042171a94 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -37,7 +37,6 @@ #include "MEM_guardedalloc.h" #include "DNA_ID.h" -#include "DNA_cloth_types.h" #include "DNA_dynamicpaint_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" @@ -63,10 +62,8 @@ #include "BKE_anim.h" #include "BKE_blender.h" #include "BKE_cloth.h" -#include "BKE_depsgraph.h" #include "BKE_dynamicpaint.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_modifier.h" #include "BKE_object.h" diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c index 3f92f5881e4..e198288ab7c 100644 --- a/source/blender/blenkernel/intern/rigidbody.c +++ b/source/blender/blenkernel/intern/rigidbody.c @@ -46,26 +46,20 @@ # include "RBI_api.h" #endif -#include "DNA_anim_types.h" #include "DNA_group_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" #include "DNA_object_force.h" #include "DNA_rigidbody_types.h" #include "DNA_scene_types.h" -#include "BKE_animsys.h" #include "BKE_cdderivedmesh.h" #include "BKE_effect.h" #include "BKE_global.h" -#include "BKE_group.h" #include "BKE_library.h" -#include "BKE_mesh.h" #include "BKE_object.h" #include "BKE_pointcache.h" #include "BKE_rigidbody.h" -#include "BKE_utildefines.h" #include "RNA_access.h" diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index b4f90144f72..b343f5e6091 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -80,7 +80,6 @@ #include "BKE_node.h" #include "BKE_object.h" #include "BKE_paint.h" -#include "BKE_pointcache.h" #include "BKE_rigidbody.h" #include "BKE_scene.h" #include "BKE_sequencer.h" diff --git a/source/blender/blenkernel/intern/seqeffects.c b/source/blender/blenkernel/intern/seqeffects.c index b5d4c00dca6..7ed9af8b87f 100644 --- a/source/blender/blenkernel/intern/seqeffects.c +++ b/source/blender/blenkernel/intern/seqeffects.c @@ -35,20 +35,16 @@ #include #include "MEM_guardedalloc.h" -#include "BLI_dynlib.h" #include "BLI_math.h" /* windows needs for M_PI */ #include "BLI_utildefines.h" -#include "BLI_string.h" #include "DNA_scene_types.h" #include "DNA_sequence_types.h" #include "DNA_anim_types.h" #include "BKE_fcurve.h" -#include "BKE_main.h" #include "BKE_sequencer.h" -#include "BKE_texture.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index ed95a0a37cd..cf15b235b45 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -35,7 +35,6 @@ #include #include "MEM_guardedalloc.h" -#include "MEM_CacheLimiterC-Api.h" #include "DNA_sequence_types.h" #include "DNA_movieclip_types.h" diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c index 275bd693518..e2cc7b84f95 100644 --- a/source/blender/blenkernel/intern/shrinkwrap.c +++ b/source/blender/blenkernel/intern/shrinkwrap.c @@ -41,7 +41,6 @@ #include "DNA_modifier_types.h" #include "DNA_meshdata_types.h" #include "DNA_mesh_types.h" -#include "DNA_scene_types.h" #include "BLI_math.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index 3d0045b838e..74edd1902d8 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -42,11 +42,8 @@ #include #include /* memset */ -#include "BLI_linklist.h" -#include "BLI_rand.h" #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BLI_kdtree.h" #include "BLI_kdopbvh.h" #include "BLI_threads.h" @@ -57,9 +54,7 @@ #include "DNA_armature_types.h" #include "DNA_constraint_types.h" #include "DNA_customdata_types.h" -#include "DNA_group_types.h" #include "DNA_lamp_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c index a2fb66eb926..9c411142566 100644 --- a/source/blender/blenkernel/intern/softbody.c +++ b/source/blender/blenkernel/intern/softbody.c @@ -75,7 +75,6 @@ variables on the UI for now #include "BKE_global.h" #include "BKE_modifier.h" #include "BKE_softbody.h" -#include "BKE_DerivedMesh.h" #include "BKE_pointcache.h" #include "BKE_deform.h" #include "BKE_mesh.h" diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c index 65a1fa84867..6ba843c8a8f 100644 --- a/source/blender/blenkernel/intern/sound.c +++ b/source/blender/blenkernel/intern/sound.c @@ -53,10 +53,8 @@ #include "BKE_global.h" #include "BKE_main.h" #include "BKE_sound.h" -#include "BKE_context.h" #include "BKE_library.h" #include "BKE_packedFile.h" -#include "BKE_animsys.h" #include "BKE_sequencer.h" #include "BKE_scene.h" diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index 108c6110a87..16d21827f73 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -58,14 +58,11 @@ #include "BKE_ccg.h" #include "BKE_cdderivedmesh.h" #include "BKE_global.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" -#include "BKE_modifier.h" #include "BKE_multires.h" #include "BKE_paint.h" #include "BKE_scene.h" #include "BKE_subsurf.h" -#include "BKE_editmesh.h" #include "PIL_time.h" diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index d7248c521c4..75f2fd121dc 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -38,7 +38,6 @@ #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" -#include "BLI_dynlib.h" #include "BLI_math.h" #include "BLI_kdopbvh.h" #include "BLI_utildefines.h" @@ -57,7 +56,6 @@ #include "BKE_global.h" #include "BKE_main.h" -#include "BKE_ocean.h" #include "BKE_library.h" #include "BKE_image.h" diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index ca0b52bd7c2..22005892535 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -47,7 +47,6 @@ #include "BLI_math.h" #include "BLI_math_base.h" #include "BLI_listbase.h" -#include "BLI_ghash.h" #include "BLI_path_util.h" #include "BLI_string.h" #include "BLI_threads.h" @@ -55,7 +54,6 @@ #include "BLF_translation.h" #include "BKE_fcurve.h" -#include "BKE_global.h" #include "BKE_tracking.h" #include "BKE_movieclip.h" #include "BKE_object.h" diff --git a/source/blender/blenkernel/intern/tracking_detect.c b/source/blender/blenkernel/intern/tracking_detect.c index a5a8ec87721..62039b761e8 100644 --- a/source/blender/blenkernel/intern/tracking_detect.c +++ b/source/blender/blenkernel/intern/tracking_detect.c @@ -31,8 +31,6 @@ * This file contains blender-side implementation of feature detection. */ -#include "MEM_guardedalloc.h" - #include "DNA_gpencil_types.h" #include "DNA_movieclip_types.h" #include "DNA_object_types.h" /* SELECT */ diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index f198f686b52..8cdb547612c 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -33,8 +33,6 @@ #include -#include "MEM_guardedalloc.h" - #include "DNA_movieclip_types.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index bcceb00139a..39475d73ee0 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -61,7 +61,6 @@ #include "MEM_guardedalloc.h" #include "BLI_utildefines.h" -#include "BLI_listbase.h" #include "BLI_string.h" #include "BLI_path_util.h" #include "BLI_fileops.h" diff --git a/source/blender/blenlib/intern/math_color.c b/source/blender/blenlib/intern/math_color.c index 61d55c720b0..57a48bb5fa8 100644 --- a/source/blender/blenlib/intern/math_color.c +++ b/source/blender/blenlib/intern/math_color.c @@ -29,10 +29,8 @@ #include -#include "MEM_guardedalloc.h" #include "BLI_math.h" -#include "BLI_rand.h" #include "BLI_utildefines.h" #include "BLI_strict_flags.h" diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 58bb7c1f121..5f3ab5eb73e 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -30,7 +30,6 @@ #include "MEM_guardedalloc.h" #include "BLI_math.h" -#include "BLI_memarena.h" #include "BLI_utildefines.h" #include "BLI_strict_flags.h" diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 0be2e84b35b..2c24a8968e9 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -31,14 +31,11 @@ * \ingroup bli */ - #include #include #include #include -#include "MEM_guardedalloc.h" - #include "DNA_listBase.h" #include "BLI_utildefines.h" diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c index 9177b2fae36..d6b2383bd47 100644 --- a/source/blender/blenlib/intern/smallhash.c +++ b/source/blender/blenlib/intern/smallhash.c @@ -55,7 +55,6 @@ #include "MEM_guardedalloc.h" #include "BLI_utildefines.h" -#include "BLI_alloca.h" #include "BLI_smallhash.h" diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c index c1590d02a51..d9bcfc2e8f9 100644 --- a/source/blender/blenloader/intern/readblenentry.c +++ b/source/blender/blenloader/intern/readblenentry.c @@ -42,7 +42,6 @@ #include "BLI_utildefines.h" #include "BLI_path_util.h" -#include "BLI_fileops.h" #include "BLI_ghash.h" #include "BLI_linklist.h" #include "BLI_listbase.h" @@ -55,7 +54,6 @@ #include "BKE_main.h" #include "BKE_library.h" // for BKE_main_free #include "BKE_idcode.h" -#include "BKE_report.h" #include "BLO_readfile.h" #include "BLO_undofile.h" diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 27c44c275c5..7dfe476ce0a 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -106,54 +106,40 @@ #include "BLI_endian_switch.h" #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BLI_threads.h" #include "BLI_mempool.h" #include "BLF_translation.h" -#include "BKE_anim.h" -#include "BKE_action.h" #include "BKE_armature.h" #include "BKE_brush.h" -#include "BKE_colortools.h" #include "BKE_constraint.h" #include "BKE_context.h" #include "BKE_curve.h" -#include "BKE_deform.h" #include "BKE_depsgraph.h" #include "BKE_effect.h" #include "BKE_fcurve.h" #include "BKE_global.h" // for G #include "BKE_group.h" -#include "BKE_image.h" -#include "BKE_lattice.h" #include "BKE_library.h" // for which_libbase #include "BKE_idcode.h" -#include "BKE_idprop.h" #include "BKE_material.h" #include "BKE_main.h" // for Main #include "BKE_mesh.h" // for ME_ defines (patching) #include "BKE_modifier.h" #include "BKE_multires.h" #include "BKE_node.h" // for tree type defines -#include "BKE_ocean.h" #include "BKE_object.h" #include "BKE_paint.h" #include "BKE_particle.h" #include "BKE_pointcache.h" -#include "BKE_property.h" // for BKE_bproperty_object_get #include "BKE_report.h" #include "BKE_sca.h" // for init_actuator #include "BKE_scene.h" #include "BKE_screen.h" #include "BKE_sequencer.h" -#include "BKE_text.h" // for txt_extended_ascii_as_utf8 -#include "BKE_texture.h" -#include "BKE_tracking.h" #include "BKE_treehash.h" #include "BKE_sound.h" -#include "BKE_writeffmpeg.h" #include "IMB_imbuf.h" // for proxy / timecode versioning stuff diff --git a/source/blender/blenloader/intern/versioning_250.c b/source/blender/blenloader/intern/versioning_250.c index e6d327f1043..06d871c8db0 100644 --- a/source/blender/blenloader/intern/versioning_250.c +++ b/source/blender/blenloader/intern/versioning_250.c @@ -69,7 +69,6 @@ #include "BLI_utildefines.h" #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BKE_anim.h" #include "BKE_armature.h" diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index ae6d5eec6fa..0fe105346a3 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -35,7 +35,6 @@ #define DNA_DEPRECATED_ALLOW #include "DNA_constraint_types.h" -#include "DNA_curve_types.h" #include "DNA_sdna_types.h" #include "DNA_space_types.h" #include "DNA_screen_types.h" diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index a054fa05284..bf687dc4dd8 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -77,14 +77,12 @@ #include "BLI_utildefines.h" #include "BLI_blenlib.h" #include "BLI_math.h" -#include "BLI_edgehash.h" #include "BKE_armature.h" #include "BKE_colortools.h" #include "BKE_constraint.h" #include "BKE_deform.h" #include "BKE_fcurve.h" -#include "BKE_global.h" // for G #include "BKE_image.h" #include "BKE_lattice.h" #include "BKE_main.h" // for Main diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 70e3c62a1f1..f9e61b9be29 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -143,7 +143,6 @@ #include "BLI_bitmap.h" #include "BLI_blenlib.h" #include "BLI_linklist.h" -#include "BLI_math.h" #include "BLI_mempool.h" #include "BKE_action.h" @@ -152,7 +151,6 @@ #include "BKE_curve.h" #include "BKE_constraint.h" #include "BKE_global.h" // for G -#include "BKE_idprop.h" #include "BKE_library.h" // for set_listbasepointers #include "BKE_main.h" #include "BKE_node.h" diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 57ab1a45d4d..4c70305476f 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -29,7 +29,6 @@ #include "MEM_guardedalloc.h" #include "BLI_math_vector.h" -#include "BLI_listbase.h" #include "BLI_array.h" #include "BLI_alloca.h" #include "BLI_smallhash.h" diff --git a/source/blender/bmesh/intern/bmesh_delete.c b/source/blender/bmesh/intern/bmesh_delete.c index 42b1c09b7ef..c5c9403884b 100644 --- a/source/blender/bmesh/intern/bmesh_delete.c +++ b/source/blender/bmesh/intern/bmesh_delete.c @@ -31,7 +31,6 @@ * BM remove functions. */ -#include "MEM_guardedalloc.h" #include "BLI_utildefines.h" diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c index a4e9106d6fa..2250b8135d7 100644 --- a/source/blender/bmesh/intern/bmesh_interp.c +++ b/source/blender/bmesh/intern/bmesh_interp.c @@ -33,7 +33,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "BLI_alloca.h" diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c index 70660bba050..e9d3c36eb1a 100644 --- a/source/blender/bmesh/intern/bmesh_mesh.c +++ b/source/blender/bmesh/intern/bmesh_mesh.c @@ -35,7 +35,6 @@ #include "BLI_listbase.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_alloca.h" #include "BKE_cdderivedmesh.h" #include "BKE_editmesh.h" diff --git a/source/blender/bmesh/intern/bmesh_mods.c b/source/blender/bmesh/intern/bmesh_mods.c index f6b91d80349..60de592f964 100644 --- a/source/blender/bmesh/intern/bmesh_mods.c +++ b/source/blender/bmesh/intern/bmesh_mods.c @@ -32,7 +32,6 @@ #include "BLI_math.h" #include "BLI_array.h" -#include "BLI_smallhash.h" #include "BKE_customdata.h" diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c index 1313f7078ec..3422656b50c 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -37,7 +37,6 @@ #include "BLI_math.h" #include "BLI_memarena.h" #include "BLI_polyfill2d.h" -#include "BLI_listbase.h" #include "bmesh.h" #include "bmesh_tools.h" diff --git a/source/blender/bmesh/operators/bmo_connect.c b/source/blender/bmesh/operators/bmo_connect.c index 89969640320..2e45cb9fec1 100644 --- a/source/blender/bmesh/operators/bmo_connect.c +++ b/source/blender/bmesh/operators/bmo_connect.c @@ -26,7 +26,6 @@ * Connect verts across faces (splits faces). */ -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BLI_alloca.h" #include "BLI_linklist_stack.h" diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c index a1994199fe7..f614c43193a 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c +++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c @@ -30,7 +30,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_scene_types.h" #include "BLI_math.h" #include "BLI_quadric.h" 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 #include -#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 #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 #include -#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 -#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 #include -#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 #include -#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 #include -#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 #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 #include #include @@ -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 /* 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 #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 #include -#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 #include #include @@ -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 -#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 #include -#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 #include - #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 #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 #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 #include -#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" diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 80f0cdac86c..df6aa4d868d 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -47,12 +47,10 @@ #include "BLI_threads.h" #include "DNA_meshdata_types.h" -#include "DNA_material_types.h" #include "BKE_ccg.h" #include "BKE_DerivedMesh.h" #include "BKE_paint.h" -#include "BKE_subsurf.h" #include "DNA_userdef_types.h" diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 2687157d01b..b3155f0ad50 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -43,7 +43,6 @@ #include "BLI_utildefines.h" #include "BLI_dynstr.h" #include "BLI_ghash.h" -#include "BLI_heap.h" #include "GPU_material.h" #include "GPU_extensions.h" diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index d0e81f2f383..ff9bef74a79 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -46,9 +46,7 @@ #include "imbuf.h" #include "MEM_guardedalloc.h" -#include "MEM_CacheLimiterC-Api.h" -#include "BLI_utildefines.h" #include "BLI_threads.h" static SpinLock refcounter_spin; diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 40fdf19ccc1..eef7964ef3f 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -67,14 +67,12 @@ #include "BLI_utildefines.h" #include "BLI_string.h" #include "BLI_path_util.h" -#include "BLI_math_base.h" #include "MEM_guardedalloc.h" #include "DNA_userdef_types.h" #include "BKE_global.h" -#include "BKE_depsgraph.h" #include "imbuf.h" @@ -1048,7 +1046,7 @@ static ImBuf *ffmpeg_fetchibuf(struct anim *anim, int position, av_log(anim->pFormatCtx, AV_LOG_DEBUG, "TC INDEX seek pos = %lld\n", pos); av_log(anim->pFormatCtx, AV_LOG_DEBUG, - "TC INDEX seek dts = %lld\n", dts); + "TC INDEX seek dts = %llu\n", dts); if (ffmpeg_seek_by_byte(anim->pFormatCtx)) { av_log(anim->pFormatCtx, AV_LOG_DEBUG, diff --git a/source/blender/imbuf/intern/cineon/cineonlib.c b/source/blender/imbuf/intern/cineon/cineonlib.c index b80a381ebbb..880df0ce5c3 100644 --- a/source/blender/imbuf/intern/cineon/cineonlib.c +++ b/source/blender/imbuf/intern/cineon/cineonlib.c @@ -37,7 +37,6 @@ #include #include "BLI_fileops.h" -#include "BLI_math_base.h" #include "BLI_utildefines.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/imbuf/intern/cineon/dpxlib.c b/source/blender/imbuf/intern/cineon/dpxlib.c index ff7d37893c7..626d05b05c5 100644 --- a/source/blender/imbuf/intern/cineon/dpxlib.c +++ b/source/blender/imbuf/intern/cineon/dpxlib.c @@ -37,7 +37,6 @@ #include #include "BLI_fileops.h" -#include "BLI_math_base.h" #include "BLI_utildefines.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c index 7731de33be2..590b21259c3 100644 --- a/source/blender/imbuf/intern/colormanagement.c +++ b/source/blender/imbuf/intern/colormanagement.c @@ -42,9 +42,7 @@ #include "DNA_image_types.h" #include "DNA_movieclip_types.h" #include "DNA_scene_types.h" -#include "DNA_screen_types.h" #include "DNA_space_types.h" -#include "DNA_windowmanager_types.h" #include "IMB_filter.h" #include "IMB_imbuf.h" @@ -66,7 +64,6 @@ #include "BKE_colortools.h" #include "BKE_context.h" #include "BKE_image.h" -#include "BKE_utildefines.h" #include "BKE_main.h" #include "RNA_define.h" diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index f6606711cc3..028026527dc 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -1475,20 +1475,20 @@ void DirectDrawSurface::printInfo() const if (header.pf.fourcc != 0) { // Display fourcc code even when DDPF_FOURCC flag not set. printf("\tFourCC: '%c%c%c%c' (0x%.8X)\n", - ((header.pf.fourcc >> 0) & 0xFF), - ((header.pf.fourcc >> 8) & 0xFF), - ((header.pf.fourcc >> 16) & 0xFF), - ((header.pf.fourcc >> 24) & 0xFF), + (int)((header.pf.fourcc >> 0) & 0xFF), + (int)((header.pf.fourcc >> 8) & 0xFF), + (int)((header.pf.fourcc >> 16) & 0xFF), + (int)((header.pf.fourcc >> 24) & 0xFF), header.pf.fourcc); } if ((header.pf.flags & DDPF_FOURCC) && (header.pf.bitcount != 0)) { printf("\tSwizzle: '%c%c%c%c' (0x%.8X)\n", - (header.pf.bitcount >> 0) & 0xFF, - (header.pf.bitcount >> 8) & 0xFF, - (header.pf.bitcount >> 16) & 0xFF, - (header.pf.bitcount >> 24) & 0xFF, + (int)(header.pf.bitcount >> 0) & 0xFF, + (int)(header.pf.bitcount >> 8) & 0xFF, + (int)(header.pf.bitcount >> 16) & 0xFF, + (int)(header.pf.bitcount >> 24) & 0xFF, header.pf.bitcount); } else diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index f896d975326..8f14205ac6b 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -43,7 +43,6 @@ #include "IMB_colormanagement.h" #include "IMB_colormanagement_intern.h" -#include "BLI_threads.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/imbuf/intern/imageprocess.c b/source/blender/imbuf/intern/imageprocess.c index 4cdfc295749..cf875bb247b 100644 --- a/source/blender/imbuf/intern/imageprocess.c +++ b/source/blender/imbuf/intern/imageprocess.c @@ -42,7 +42,6 @@ #include "BLI_utildefines.h" #include "BLI_task.h" -#include "BLI_listbase.h" #include "BLI_math.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/imbuf/intern/indexer.c b/source/blender/imbuf/intern/indexer.c index 841e13d3ff1..547a8df4438 100644 --- a/source/blender/imbuf/intern/indexer.c +++ b/source/blender/imbuf/intern/indexer.c @@ -35,14 +35,12 @@ #include "BLI_path_util.h" #include "BLI_string.h" #include "BLI_fileops.h" -#include "BLI_math_base.h" #include "IMB_indexer.h" #include "IMB_anim.h" #include "imbuf.h" #include "MEM_guardedalloc.h" -#include "DNA_userdef_types.h" #include "BKE_global.h" #ifdef WITH_AVI diff --git a/source/blender/imbuf/intern/jpeg.c b/source/blender/imbuf/intern/jpeg.c index f8a8beb72bc..f4b5f987869 100644 --- a/source/blender/imbuf/intern/jpeg.c +++ b/source/blender/imbuf/intern/jpeg.c @@ -37,7 +37,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_string.h" #include "BLI_fileops.h" diff --git a/source/blender/imbuf/intern/radiance_hdr.c b/source/blender/imbuf/intern/radiance_hdr.c index d45438e2853..db268546480 100644 --- a/source/blender/imbuf/intern/radiance_hdr.c +++ b/source/blender/imbuf/intern/radiance_hdr.c @@ -43,7 +43,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_fileops.h" #include "imbuf.h" diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index 29c621a712d..b4c97a2aea1 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -29,11 +29,8 @@ * \ingroup imbuf */ - #include -#include "MEM_guardedalloc.h" - #include "BLI_utildefines.h" #include "BLI_string.h" #include "BLI_path_util.h" diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index c2fa9a5e8b5..0a4a6140c02 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -39,9 +39,7 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BLI_ghash.h" -#include "BLI_edgehash.h" #include "DNA_curve_types.h" #include "DNA_meshdata_types.h" @@ -51,9 +49,7 @@ #include "BKE_cdderivedmesh.h" #include "BKE_displist.h" #include "BKE_curve.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "MOD_util.h" diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c index e5e7e004bbf..fc65990df20 100644 --- a/source/blender/modifiers/intern/MOD_bevel.c +++ b/source/blender/modifiers/intern/MOD_bevel.c @@ -41,16 +41,12 @@ #include "BKE_cdderivedmesh.h" #include "BKE_deform.h" #include "BKE_modifier.h" -#include "BKE_mesh.h" #include "MOD_util.h" #include "bmesh.h" #include "bmesh_tools.h" -#include "MEM_guardedalloc.h" - - static void initData(ModifierData *md) { BevelModifierData *bmd = (BevelModifierData *) md; diff --git a/source/blender/modifiers/intern/MOD_boolean_util.c b/source/blender/modifiers/intern/MOD_boolean_util.c index e0f8a18d54a..251c5a8e311 100644 --- a/source/blender/modifiers/intern/MOD_boolean_util.c +++ b/source/blender/modifiers/intern/MOD_boolean_util.c @@ -29,16 +29,13 @@ #include "DNA_material_types.h" #include "DNA_meshdata_types.h" -#include "DNA_modifier_types.h" #include "DNA_object_types.h" -#include "MEM_guardedalloc.h" #include "BLI_utildefines.h" #include "BLI_alloca.h" #include "BLI_ghash.h" #include "BLI_math.h" -#include "BLI_polyfill2d.h" #include "BKE_cdderivedmesh.h" #include "BKE_material.h" diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c index ab9c15f88db..f6ade2bf303 100644 --- a/source/blender/modifiers/intern/MOD_build.c +++ b/source/blender/modifiers/intern/MOD_build.c @@ -46,7 +46,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "BKE_particle.h" #include "BKE_scene.h" diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c index 76a0ed59d06..ec077631c85 100644 --- a/source/blender/modifiers/intern/MOD_cast.c +++ b/source/blender/modifiers/intern/MOD_cast.c @@ -38,7 +38,6 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_deform.h" diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c index 1f24662960a..8f6c533ae4c 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -33,7 +33,6 @@ */ -#include "DNA_scene_types.h" #include "DNA_object_types.h" #include "DNA_meshdata_types.h" @@ -47,7 +46,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_global.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "BKE_pointcache.h" #include "BKE_scene.h" diff --git a/source/blender/modifiers/intern/MOD_curve.c b/source/blender/modifiers/intern/MOD_curve.c index 792fc7e7cf8..fbc72cef0e8 100644 --- a/source/blender/modifiers/intern/MOD_curve.c +++ b/source/blender/modifiers/intern/MOD_curve.c @@ -39,7 +39,6 @@ #include "DNA_object_types.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c index 54f2e688f31..a23873fcd8a 100644 --- a/source/blender/modifiers/intern/MOD_displace.c +++ b/source/blender/modifiers/intern/MOD_displace.c @@ -36,9 +36,7 @@ #include "DNA_meshdata_types.h" #include "DNA_object_types.h" -#include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/modifiers/intern/MOD_dynamicpaint.c b/source/blender/modifiers/intern/MOD_dynamicpaint.c index df72d31596c..838ceb5cfe0 100644 --- a/source/blender/modifiers/intern/MOD_dynamicpaint.c +++ b/source/blender/modifiers/intern/MOD_dynamicpaint.c @@ -32,8 +32,6 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" -#include "MEM_guardedalloc.h" - #include "BLI_utildefines.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c index 48370eeb2ef..127972a2e40 100644 --- a/source/blender/modifiers/intern/MOD_explode.c +++ b/source/blender/modifiers/intern/MOD_explode.c @@ -48,7 +48,6 @@ #include "BKE_lattice.h" #include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_object.h" #include "BKE_particle.h" #include "BKE_scene.h" diff --git a/source/blender/modifiers/intern/MOD_fluidsim_util.c b/source/blender/modifiers/intern/MOD_fluidsim_util.c index e7eb5d64b9d..77fbb482f8b 100644 --- a/source/blender/modifiers/intern/MOD_fluidsim_util.c +++ b/source/blender/modifiers/intern/MOD_fluidsim_util.c @@ -45,12 +45,9 @@ #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_threads.h" -#include "BKE_main.h" #include "BKE_fluidsim.h" /* ensure definitions here match */ #include "BKE_cdderivedmesh.h" -#include "BKE_mesh.h" #include "BKE_global.h" /* G.main->name only */ #include "MOD_fluidsim_util.h" diff --git a/source/blender/modifiers/intern/MOD_hook.c b/source/blender/modifiers/intern/MOD_hook.c index 31aad533727..c89bc8c1d41 100644 --- a/source/blender/modifiers/intern/MOD_hook.c +++ b/source/blender/modifiers/intern/MOD_hook.c @@ -33,13 +33,11 @@ */ -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_action.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/modifiers/intern/MOD_laplaciandeform.c b/source/blender/modifiers/intern/MOD_laplaciandeform.c index 31bae2a192e..d3bd05baa6d 100644 --- a/source/blender/modifiers/intern/MOD_laplaciandeform.c +++ b/source/blender/modifiers/intern/MOD_laplaciandeform.c @@ -34,7 +34,6 @@ #include "MEM_guardedalloc.h" -#include "BKE_mesh.h" #include "BKE_mesh_mapping.h" #include "BKE_cdderivedmesh.h" #include "BKE_particle.h" diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index e494fbf23fd..9ba0bfc7ce9 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -34,18 +34,12 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "MEM_guardedalloc.h" #include "BKE_cdderivedmesh.h" #include "BKE_deform.h" -#include "BKE_displist.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" -#include "BKE_object.h" -#include "BKE_particle.h" -#include "BKE_editmesh.h" #include "MOD_modifiertypes.h" #include "MOD_util.h" diff --git a/source/blender/modifiers/intern/MOD_mask.c b/source/blender/modifiers/intern/MOD_mask.c index 0a1ca6e52c4..7f21376ef48 100644 --- a/source/blender/modifiers/intern/MOD_mask.c +++ b/source/blender/modifiers/intern/MOD_mask.c @@ -37,7 +37,6 @@ #include "BLI_utildefines.h" #include "BLI_listbase.h" -#include "BLI_string.h" #include "BLI_ghash.h" #include "DNA_armature_types.h" @@ -47,7 +46,6 @@ #include "BKE_action.h" /* BKE_pose_channel_find_name */ #include "BKE_cdderivedmesh.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_deform.h" diff --git a/source/blender/modifiers/intern/MOD_meshcache_pc2.c b/source/blender/modifiers/intern/MOD_meshcache_pc2.c index 1897454e132..ac0363f8673 100644 --- a/source/blender/modifiers/intern/MOD_meshcache_pc2.c +++ b/source/blender/modifiers/intern/MOD_meshcache_pc2.c @@ -30,7 +30,6 @@ #include "BLI_sys_types.h" #include "BLI_utildefines.h" -#include "BLI_endian_switch.h" #include "BLI_fileops.h" #include "BLI_math.h" diff --git a/source/blender/modifiers/intern/MOD_meshcache_util.c b/source/blender/modifiers/intern/MOD_meshcache_util.c index 10560a85a3f..c263c4810e4 100644 --- a/source/blender/modifiers/intern/MOD_meshcache_util.c +++ b/source/blender/modifiers/intern/MOD_meshcache_util.c @@ -27,12 +27,8 @@ #include "BLI_utildefines.h" #include "BLI_math.h" -#include "DNA_mesh_types.h" -#include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" -#include "MEM_guardedalloc.h" - #include "MOD_meshcache_util.h" void MOD_meshcache_calc_range(const float frame, const char interp, diff --git a/source/blender/modifiers/intern/MOD_meshdeform.c b/source/blender/modifiers/intern/MOD_meshdeform.c index 741f612e135..959bbdcbca9 100644 --- a/source/blender/modifiers/intern/MOD_meshdeform.c +++ b/source/blender/modifiers/intern/MOD_meshdeform.c @@ -32,7 +32,6 @@ * \ingroup modifiers */ -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" @@ -44,7 +43,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_global.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_deform.h" #include "BKE_editmesh.h" diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c index a3ac09d87f2..5cece9d349f 100644 --- a/source/blender/modifiers/intern/MOD_mirror.c +++ b/source/blender/modifiers/intern/MOD_mirror.c @@ -39,7 +39,6 @@ #include "BLI_math.h" #include "BKE_cdderivedmesh.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_deform.h" diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index 91b1b2cbbca..a324702a6ae 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -29,22 +29,17 @@ * \ingroup modifiers */ -#include "MEM_guardedalloc.h" - #include "DNA_customdata_types.h" #include "DNA_object_types.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" #include "DNA_scene_types.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_math_inline.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" -#include "BKE_global.h" #include "BKE_modifier.h" #include "BKE_ocean.h" diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 8e72c49740f..a41fbb03462 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -41,10 +41,8 @@ #include "BKE_cdderivedmesh.h" -#include "BKE_material.h" #include "BKE_modifier.h" #include "BKE_particle.h" -#include "BKE_scene.h" #include "MOD_util.h" diff --git a/source/blender/modifiers/intern/MOD_remesh.c b/source/blender/modifiers/intern/MOD_remesh.c index 8f0db9f8ebf..6d76dc51ac7 100644 --- a/source/blender/modifiers/intern/MOD_remesh.c +++ b/source/blender/modifiers/intern/MOD_remesh.c @@ -32,7 +32,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_DerivedMesh.h" -#include "BKE_mesh.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" diff --git a/source/blender/modifiers/intern/MOD_shapekey.c b/source/blender/modifiers/intern/MOD_shapekey.c index fef4c7ccedb..45725d1c453 100644 --- a/source/blender/modifiers/intern/MOD_shapekey.c +++ b/source/blender/modifiers/intern/MOD_shapekey.c @@ -32,22 +32,18 @@ * \ingroup modifiers */ - #include "BLI_math.h" #include "DNA_key_types.h" #include "BLI_utildefines.h" - #include "BKE_cdderivedmesh.h" #include "BKE_key.h" #include "BKE_particle.h" #include "MOD_modifiertypes.h" -#include "MEM_guardedalloc.h" - static void deformVerts(ModifierData *md, Object *ob, DerivedMesh *UNUSED(derivedData), float (*vertexCos)[3], diff --git a/source/blender/modifiers/intern/MOD_simpledeform.c b/source/blender/modifiers/intern/MOD_simpledeform.c index 5a9c2b4ffe1..ccba2097264 100644 --- a/source/blender/modifiers/intern/MOD_simpledeform.c +++ b/source/blender/modifiers/intern/MOD_simpledeform.c @@ -37,11 +37,9 @@ #include "DNA_object_types.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_utildefines.h" #include "BKE_cdderivedmesh.h" -#include "BKE_lattice.h" #include "BKE_modifier.h" #include "BKE_deform.h" #include "BKE_shrinkwrap.h" diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c index 70e7e79abaa..019eb54a9ee 100644 --- a/source/blender/modifiers/intern/MOD_skin.c +++ b/source/blender/modifiers/intern/MOD_skin.c @@ -59,7 +59,6 @@ #include "MEM_guardedalloc.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_object_types.h" #include "DNA_modifier_types.h" @@ -67,10 +66,8 @@ #include "BLI_utildefines.h" #include "BLI_array.h" #include "BLI_heap.h" -#include "BLI_listbase.h" #include "BLI_math.h" #include "BLI_stack.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" #include "BKE_deform.h" diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c index eb8c62cfd89..d1ad8f1fcfc 100644 --- a/source/blender/modifiers/intern/MOD_smooth.c +++ b/source/blender/modifiers/intern/MOD_smooth.c @@ -37,7 +37,6 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index 90a5d56f451..c212c13e396 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -37,7 +37,6 @@ #include "BLI_utildefines.h" #include "BLI_bitmap.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" #include "BKE_mesh.h" diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index 0cc9b8bb77b..386d6d985fb 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -34,7 +34,6 @@ #include "DNA_curve_types.h" #include "DNA_image_types.h" -#include "DNA_lattice_types.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c index a9c0ac9b93d..2ff93efdb86 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.c +++ b/source/blender/modifiers/intern/MOD_uvproject.c @@ -38,10 +38,8 @@ #include "DNA_meshdata_types.h" #include "DNA_camera_types.h" #include "DNA_object_types.h" -#include "DNA_scene_types.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_uvproject.h" #include "BLI_utildefines.h" diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c index 4640a36909b..f5ff30e35d9 100644 --- a/source/blender/modifiers/intern/MOD_uvwarp.c +++ b/source/blender/modifiers/intern/MOD_uvwarp.c @@ -31,7 +31,6 @@ #include "DNA_object_types.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_utildefines.h" #include "BKE_action.h" /* BKE_pose_channel_find_name */ diff --git a/source/blender/modifiers/intern/MOD_warp.c b/source/blender/modifiers/intern/MOD_warp.c index b9c89f404bb..f6714e79401 100644 --- a/source/blender/modifiers/intern/MOD_warp.c +++ b/source/blender/modifiers/intern/MOD_warp.c @@ -34,7 +34,6 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_cdderivedmesh.h" #include "BKE_modifier.h" diff --git a/source/blender/modifiers/intern/MOD_wave.c b/source/blender/modifiers/intern/MOD_wave.c index 1a81b1fdf4c..47e4c502a90 100644 --- a/source/blender/modifiers/intern/MOD_wave.c +++ b/source/blender/modifiers/intern/MOD_wave.c @@ -40,13 +40,11 @@ #include "DNA_object_types.h" #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BKE_deform.h" #include "BKE_DerivedMesh.h" #include "BKE_library.h" -#include "BKE_object.h" #include "BKE_scene.h" #include "BKE_texture.h" diff --git a/source/blender/modifiers/intern/MOD_weightvgedit.c b/source/blender/modifiers/intern/MOD_weightvgedit.c index a9062c31e66..f36abcceae0 100644 --- a/source/blender/modifiers/intern/MOD_weightvgedit.c +++ b/source/blender/modifiers/intern/MOD_weightvgedit.c @@ -30,8 +30,6 @@ #include "BLI_utildefines.h" #include "BLI_ghash.h" -#include "BLI_math.h" -#include "BLI_string.h" #include "BLI_listbase.h" #include "BLI_rand.h" @@ -45,7 +43,6 @@ #include "BKE_colortools.h" /* CurveMapping. */ #include "BKE_deform.h" #include "BKE_library.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_texture.h" /* Texture masking. */ diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c index cc930213cb5..bdc1099d682 100644 --- a/source/blender/modifiers/intern/MOD_weightvgmix.c +++ b/source/blender/modifiers/intern/MOD_weightvgmix.c @@ -30,10 +30,8 @@ #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_listbase.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" @@ -41,7 +39,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_deform.h" #include "BKE_library.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_texture.h" /* Texture masking. */ diff --git a/source/blender/modifiers/intern/MOD_weightvgproximity.c b/source/blender/modifiers/intern/MOD_weightvgproximity.c index b2ba495d043..f5ae8561300 100644 --- a/source/blender/modifiers/intern/MOD_weightvgproximity.c +++ b/source/blender/modifiers/intern/MOD_weightvgproximity.c @@ -32,7 +32,6 @@ #include "BLI_ghash.h" #include "BLI_listbase.h" #include "BLI_math.h" -#include "BLI_string.h" #include "BLI_rand.h" #include "DNA_mesh_types.h" @@ -43,7 +42,6 @@ #include "BKE_cdderivedmesh.h" #include "BKE_deform.h" #include "BKE_library.h" -#include "BKE_mesh.h" #include "BKE_modifier.h" #include "BKE_shrinkwrap.h" /* For SpaceTransform stuff. */ #include "BKE_texture.h" /* Texture masking. */ diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index a1bc369fd94..cd69cf4982d 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -32,20 +32,16 @@ #include -#include "DNA_anim_types.h" #include "DNA_color_types.h" #include "DNA_scene_types.h" #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_threads.h" #include "BLF_translation.h" -#include "BKE_animsys.h" #include "BKE_colortools.h" #include "BKE_context.h" -#include "BKE_fcurve.h" #include "BKE_global.h" #include "BKE_main.h" #include "BKE_node.h" diff --git a/source/blender/nodes/intern/node_common.c b/source/blender/nodes/intern/node_common.c index 5a255f3093f..ae834f9e7cc 100644 --- a/source/blender/nodes/intern/node_common.c +++ b/source/blender/nodes/intern/node_common.c @@ -36,17 +36,11 @@ #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_math.h" -#include "BLI_path_util.h" #include "BLI_string.h" #include "BLI_utildefines.h" #include "BLF_translation.h" -#include "BKE_global.h" -#include "BKE_idprop.h" -#include "BKE_library.h" -#include "BKE_main.h" #include "BKE_node.h" #include "RNA_access.h" diff --git a/source/blender/nodes/intern/node_exec.c b/source/blender/nodes/intern/node_exec.c index 2ae2da6d6b4..0e5f72c831b 100644 --- a/source/blender/nodes/intern/node_exec.c +++ b/source/blender/nodes/intern/node_exec.c @@ -33,7 +33,6 @@ #include "DNA_node_types.h" #include "BLI_listbase.h" -#include "BLI_math.h" #include "BLI_utildefines.h" #include "BKE_global.h" diff --git a/source/blender/nodes/intern/node_socket.c b/source/blender/nodes/intern/node_socket.c index b30658fa2be..2ac1a2c85f3 100644 --- a/source/blender/nodes/intern/node_socket.c +++ b/source/blender/nodes/intern/node_socket.c @@ -39,7 +39,6 @@ #include "BLI_string.h" #include "BKE_node.h" -#include "BKE_idprop.h" #include "RNA_access.h" #include "RNA_define.h" diff --git a/source/blender/nodes/intern/node_util.c b/source/blender/nodes/intern/node_util.c index dcc58d38d31..cc8249b0f57 100644 --- a/source/blender/nodes/intern/node_util.c +++ b/source/blender/nodes/intern/node_util.c @@ -32,7 +32,6 @@ #include #include -#include "DNA_action_types.h" #include "DNA_node_types.h" #include "BLI_listbase.h" diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.c b/source/blender/python/bmesh/bmesh_py_types_customdata.c index 4fbfbd88c05..dfb3ae75df4 100644 --- a/source/blender/python/bmesh/bmesh_py_types_customdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c @@ -33,7 +33,6 @@ #include #include "BLI_utildefines.h" -#include "BLI_string.h" #include "BLI_math_vector.h" #include "bmesh.h" diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index 1906fc8c90e..b8e04a0cab8 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -43,9 +43,7 @@ #include "bmesh_py_types.h" #include "bmesh_py_types_select.h" -#include "BKE_editmesh.h" -#include "DNA_mesh_types.h" #include "../generic/py_capi_utils.h" diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index 54fed9e11ef..dcdda2c440e 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -29,7 +29,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_string.h" #include "BLI_utildefines.h" #include "idprop_py_api.h" diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index f5dc2942e63..f43b67cf42f 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -25,7 +25,6 @@ */ #include -#include "BLI_utildefines.h" #include "bpy_app_build_options.h" diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 99e741c8c94..90cc07dec89 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -43,7 +43,6 @@ #include "BLI_path_util.h" #include "BLI_fileops.h" #include "BLI_listbase.h" -#include "BLI_math_base.h" #include "BLI_string.h" #include "BLI_string_utf8.h" #include "BLI_threads.h" @@ -58,7 +57,6 @@ #include "bpy_traceback.h" #include "bpy_intern_string.h" -#include "DNA_space_types.h" #include "DNA_text_types.h" #include "BKE_context.h" diff --git a/source/blender/python/intern/bpy_library.c b/source/blender/python/intern/bpy_library.c index 7e84070e930..3d7d08024c7 100644 --- a/source/blender/python/intern/bpy_library.c +++ b/source/blender/python/intern/bpy_library.c @@ -38,7 +38,6 @@ #include "BLI_string.h" #include "BLI_linklist.h" #include "BLI_path_util.h" -#include "BLI_listbase.h" #include "BLO_readfile.h" diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index e0c8df71e4f..38a0f74f009 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -73,8 +73,6 @@ #include "BKE_report.h" #include "BKE_idprop.h" -#include "BKE_animsys.h" -#include "BKE_fcurve.h" #include "../generic/idprop_py_api.h" /* for IDprop lookups */ #include "../generic/py_capi_utils.h" diff --git a/source/blender/python/intern/bpy_rna_array.c b/source/blender/python/intern/bpy_rna_array.c index f62d42314e2..a7a3c493f4e 100644 --- a/source/blender/python/intern/bpy_rna_array.c +++ b/source/blender/python/intern/bpy_rna_array.c @@ -30,7 +30,6 @@ #include "RNA_types.h" -#include "BLI_utildefines.h" #include "bpy_rna.h" #include "BKE_global.h" diff --git a/source/blender/python/intern/bpy_traceback.c b/source/blender/python/intern/bpy_traceback.c index 81d12e9d9a6..a91742179c9 100644 --- a/source/blender/python/intern/bpy_traceback.c +++ b/source/blender/python/intern/bpy_traceback.c @@ -31,7 +31,6 @@ #include "BLI_utildefines.h" #include "BLI_path_util.h" -#include "BLI_string.h" #include "bpy_traceback.h" diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c index 5dcf67e5417..26e3bde57a3 100644 --- a/source/blender/python/intern/gpu.c +++ b/source/blender/python/intern/gpu.c @@ -42,8 +42,6 @@ #include "DNA_scene_types.h" #include "DNA_image_types.h" #include "DNA_material_types.h" -#include "DNA_lamp_types.h" -#include "DNA_object_types.h" #include "DNA_ID.h" #include "DNA_customdata_types.h" diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c index 61bc2b60861..8dfa7904300 100644 --- a/source/blender/python/mathutils/mathutils_noise.c +++ b/source/blender/python/mathutils/mathutils_noise.c @@ -36,13 +36,10 @@ #include "structseq.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_noise.h" #include "BLI_utildefines.h" -#include "MEM_guardedalloc.h" - #include "DNA_texture_types.h" #include "mathutils.h" diff --git a/source/blender/render/intern/source/bake.c b/source/blender/render/intern/source/bake.c index 0d165f4e060..f3cddf0c7cb 100644 --- a/source/blender/render/intern/source/bake.c +++ b/source/blender/render/intern/source/bake.c @@ -34,7 +34,6 @@ #include "MEM_guardedalloc.h" #include "BLI_math.h" -#include "BLI_blenlib.h" #include "BLI_threads.h" #include "BLI_utildefines.h" diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c index 37ef16d7105..ac2c419bc6a 100644 --- a/source/blender/render/intern/source/convertblender.c +++ b/source/blender/render/intern/source/convertblender.c @@ -39,56 +39,39 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" #include "BLI_rand.h" -#include "BLI_task.h" #include "BLI_memarena.h" -#include "BLI_linklist.h" #ifdef WITH_FREESTYLE # include "BLI_edgehash.h" #endif #include "BLF_translation.h" -#include "DNA_armature_types.h" -#include "DNA_camera_types.h" #include "DNA_material_types.h" #include "DNA_curve_types.h" -#include "DNA_effect_types.h" #include "DNA_group_types.h" #include "DNA_lamp_types.h" #include "DNA_image_types.h" -#include "DNA_lattice_types.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" -#include "DNA_meta_types.h" #include "DNA_modifier_types.h" #include "DNA_node_types.h" #include "DNA_object_types.h" -#include "DNA_object_force.h" #include "DNA_object_fluidsim.h" #include "DNA_particle_types.h" #include "DNA_scene_types.h" #include "DNA_texture_types.h" -#include "DNA_view3d_types.h" #include "BKE_anim.h" -#include "BKE_armature.h" -#include "BKE_action.h" #include "BKE_curve.h" #include "BKE_customdata.h" #include "BKE_colortools.h" -#include "BKE_constraint.h" #include "BKE_displist.h" -#include "BKE_deform.h" #include "BKE_depsgraph.h" #include "BKE_DerivedMesh.h" -#include "BKE_effect.h" #include "BKE_global.h" -#include "BKE_group.h" #include "BKE_key.h" -#include "BKE_ipo.h" #include "BKE_image.h" #include "BKE_lattice.h" -#include "BKE_library.h" #include "BKE_material.h" #include "BKE_main.h" #include "BKE_mball.h" @@ -98,10 +81,7 @@ #include "BKE_object.h" #include "BKE_particle.h" #include "BKE_scene.h" -#include "BKE_subsurf.h" -#include "BKE_texture.h" -#include "BKE_world.h" #include "PIL_time.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/render/intern/source/envmap.c b/source/blender/render/intern/source/envmap.c index 88c351f3f00..52ebfd07a54 100644 --- a/source/blender/render/intern/source/envmap.c +++ b/source/blender/render/intern/source/envmap.c @@ -31,7 +31,6 @@ #include /* external modules: */ -#include "MEM_guardedalloc.h" #include "BLI_math.h" #include "BLI_blenlib.h" @@ -50,14 +49,10 @@ #include "DNA_scene_types.h" #include "DNA_texture_types.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_image.h" /* BKE_imbuf_write */ #include "BKE_texture.h" - - - /* this module */ #include "render_types.h" #include "renderpipeline.h" diff --git a/source/blender/render/intern/source/imagetexture.c b/source/blender/render/intern/source/imagetexture.c index 7733e5acfbb..7d4b70cea15 100644 --- a/source/blender/render/intern/source/imagetexture.c +++ b/source/blender/render/intern/source/imagetexture.c @@ -38,8 +38,6 @@ #include #endif -#include "MEM_guardedalloc.h" - #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" @@ -52,11 +50,8 @@ #include "BLI_threads.h" #include "BLI_utildefines.h" -#include "BKE_global.h" #include "BKE_main.h" #include "BKE_image.h" -#include "BKE_texture.h" -#include "BKE_library.h" #include "RE_render_ext.h" diff --git a/source/blender/render/intern/source/initrender.c b/source/blender/render/intern/source/initrender.c index 2c431bf869c..5fd4747f19b 100644 --- a/source/blender/render/intern/source/initrender.c +++ b/source/blender/render/intern/source/initrender.c @@ -44,23 +44,12 @@ #include "BLI_utildefines.h" #include "DNA_camera_types.h" -#include "DNA_group_types.h" #include "DNA_image_types.h" -#include "DNA_lamp_types.h" #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "BKE_camera.h" -#include "BKE_global.h" -#include "BKE_material.h" -#include "BKE_object.h" -#include "BKE_image.h" -#include "BKE_ipo.h" -#include "BKE_key.h" -#include "BKE_action.h" -#include "BKE_writeavi.h" -#include "BKE_scene.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/render/intern/source/multires_bake.c b/source/blender/render/intern/source/multires_bake.c index 7e07054772c..4ac1593d1bb 100644 --- a/source/blender/render/intern/source/multires_bake.c +++ b/source/blender/render/intern/source/multires_bake.c @@ -42,7 +42,6 @@ #include "BLI_threads.h" #include "BKE_ccg.h" -#include "BKE_context.h" #include "BKE_global.h" #include "BKE_image.h" #include "BKE_multires.h" diff --git a/source/blender/render/intern/source/occlusion.c b/source/blender/render/intern/source/occlusion.c index 3fafc61b42a..dd0b1f89da7 100644 --- a/source/blender/render/intern/source/occlusion.c +++ b/source/blender/render/intern/source/occlusion.c @@ -39,14 +39,12 @@ #include "DNA_material_types.h" #include "BLI_math.h" -#include "BLI_blenlib.h" #include "BLI_memarena.h" #include "BLI_threads.h" #include "BLI_utildefines.h" #include "BLF_translation.h" -#include "BKE_global.h" #include "BKE_scene.h" diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 3d45c8b82cf..36945e7081e 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -35,7 +35,6 @@ #include #include -#include "DNA_group_types.h" #include "DNA_image_types.h" #include "DNA_node_types.h" #include "DNA_object_types.h" @@ -80,7 +79,6 @@ #include "RE_pipeline.h" #ifdef WITH_FREESTYLE -# include "BKE_library.h" # include "FRS_freestyle.h" #endif diff --git a/source/blender/render/intern/source/pixelblending.c b/source/blender/render/intern/source/pixelblending.c index 7f5b0a5b20b..460a6814f07 100644 --- a/source/blender/render/intern/source/pixelblending.c +++ b/source/blender/render/intern/source/pixelblending.c @@ -35,8 +35,6 @@ #include /* global includes */ -#include "BLI_math.h" -#include "BLI_rand.h" /* own includes */ #include "render_types.h" diff --git a/source/blender/render/intern/source/pixelshading.c b/source/blender/render/intern/source/pixelshading.c index 0c3da335963..09a6a6374be 100644 --- a/source/blender/render/intern/source/pixelshading.c +++ b/source/blender/render/intern/source/pixelshading.c @@ -39,7 +39,6 @@ #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "DNA_camera_types.h" #include "DNA_group_types.h" #include "DNA_material_types.h" #include "DNA_object_types.h" @@ -47,11 +46,7 @@ #include "DNA_texture_types.h" #include "DNA_lamp_types.h" -#include "BKE_colortools.h" -#include "BKE_image.h" -#include "BKE_global.h" #include "BKE_material.h" -#include "BKE_texture.h" /* own module */ diff --git a/source/blender/render/intern/source/pointdensity.c b/source/blender/render/intern/source/pointdensity.c index 51fe4892ff7..799f7fa2f2e 100644 --- a/source/blender/render/intern/source/pointdensity.c +++ b/source/blender/render/intern/source/pointdensity.c @@ -43,10 +43,8 @@ #include "BLF_translation.h" #include "BKE_DerivedMesh.h" -#include "BKE_global.h" #include "BKE_lattice.h" #include "BKE_main.h" -#include "BKE_object.h" #include "BKE_particle.h" #include "BKE_scene.h" #include "BKE_texture.h" diff --git a/source/blender/render/intern/source/rayshade.c b/source/blender/render/intern/source/rayshade.c index e39a1109680..7e56d93f23b 100644 --- a/source/blender/render/intern/source/rayshade.c +++ b/source/blender/render/intern/source/rayshade.c @@ -48,7 +48,6 @@ #include "BLF_translation.h" -#include "BKE_global.h" #include "BKE_node.h" diff --git a/source/blender/render/intern/source/render_result.c b/source/blender/render/intern/source/render_result.c index 9056305823e..9b02a08476d 100644 --- a/source/blender/render/intern/source/render_result.c +++ b/source/blender/render/intern/source/render_result.c @@ -36,7 +36,6 @@ #include "MEM_guardedalloc.h" #include "BLI_utildefines.h" -#include "BLI_fileops.h" #include "BLI_listbase.h" #include "BLI_path_util.h" #include "BLI_rect.h" @@ -49,7 +48,6 @@ #include "BKE_global.h" #include "BKE_main.h" #include "BKE_report.h" -#include "BKE_freestyle.h" #include "IMB_imbuf.h" #include "IMB_imbuf_types.h" diff --git a/source/blender/render/intern/source/render_texture.c b/source/blender/render/intern/source/render_texture.c index 3936305b22e..597f93a2659 100644 --- a/source/blender/render/intern/source/render_texture.c +++ b/source/blender/render/intern/source/render_texture.c @@ -33,7 +33,6 @@ #include #include -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_noise.h" #include "BLI_rand.h" @@ -43,7 +42,6 @@ #include "DNA_texture_types.h" #include "DNA_object_types.h" #include "DNA_lamp_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_material_types.h" #include "DNA_image_types.h" @@ -53,7 +51,6 @@ #include "IMB_imbuf.h" #include "IMB_colormanagement.h" -#include "BKE_colortools.h" #include "BKE_image.h" #include "BKE_node.h" @@ -64,10 +61,7 @@ #include "BKE_material.h" #include "BKE_scene.h" -#include "BKE_library.h" #include "BKE_texture.h" -#include "BKE_key.h" -#include "BKE_ipo.h" #include "MEM_guardedalloc.h" diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c index 1e38fd97bf6..27bc449dce3 100644 --- a/source/blender/render/intern/source/rendercore.c +++ b/source/blender/render/intern/source/rendercore.c @@ -45,23 +45,12 @@ #include "BLI_threads.h" #include "BLI_utildefines.h" - - #include "DNA_image_types.h" #include "DNA_lamp_types.h" #include "DNA_material_types.h" -#include "DNA_mesh_types.h" -#include "DNA_meshdata_types.h" #include "DNA_group_types.h" -#include "BKE_customdata.h" -#include "BKE_depsgraph.h" -#include "BKE_global.h" -#include "BKE_image.h" #include "BKE_main.h" -#include "BKE_node.h" -#include "BKE_texture.h" -#include "BKE_scene.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/render/intern/source/renderdatabase.c b/source/blender/render/intern/source/renderdatabase.c index 0d5b0b920b4..6a3787289d8 100644 --- a/source/blender/render/intern/source/renderdatabase.c +++ b/source/blender/render/intern/source/renderdatabase.c @@ -66,16 +66,12 @@ #include "BLI_math.h" #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLI_ghash.h" -#include "BLI_memarena.h" #include "DNA_material_types.h" -#include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" #include "DNA_texture_types.h" #include "BKE_customdata.h" -#include "BKE_texture.h" #include "BKE_DerivedMesh.h" #include "RE_render_ext.h" /* externtex */ diff --git a/source/blender/render/intern/source/shadeinput.c b/source/blender/render/intern/source/shadeinput.c index 6aeee7721c5..7aca6b9ac87 100644 --- a/source/blender/render/intern/source/shadeinput.c +++ b/source/blender/render/intern/source/shadeinput.c @@ -34,16 +34,12 @@ #include "BLI_math.h" -#include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "DNA_curve_types.h" -#include "DNA_group_types.h" #include "DNA_lamp_types.h" #include "DNA_meshdata_types.h" #include "DNA_material_types.h" -#include "BKE_colortools.h" #include "BKE_scene.h" #include "BKE_node.h" diff --git a/source/blender/render/intern/source/sss.c b/source/blender/render/intern/source/sss.c index 99829851494..52d3815c4ad 100644 --- a/source/blender/render/intern/source/sss.c +++ b/source/blender/render/intern/source/sss.c @@ -61,11 +61,8 @@ #include "DNA_material_types.h" -#include "BKE_colortools.h" #include "BKE_global.h" #include "BKE_main.h" -#include "BKE_material.h" -#include "BKE_node.h" #include "BKE_scene.h" diff --git a/source/blender/render/intern/source/sunsky.c b/source/blender/render/intern/source/sunsky.c index 45dbe3f190d..71ef5b8f62f 100644 --- a/source/blender/render/intern/source/sunsky.c +++ b/source/blender/render/intern/source/sunsky.c @@ -28,7 +28,6 @@ #include "sunsky.h" #include "BLI_math.h" -#include "BKE_global.h" /** * These macros are defined for vector operations diff --git a/source/blender/render/intern/source/volume_precache.c b/source/blender/render/intern/source/volume_precache.c index a3a4f23b526..6135a8761bb 100644 --- a/source/blender/render/intern/source/volume_precache.c +++ b/source/blender/render/intern/source/volume_precache.c @@ -60,7 +60,6 @@ #include "volumetric.h" #include "volume_precache.h" -#include "BKE_global.h" /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* defined in pipeline.c, is hardcopy of active dynamic allocated Render */ diff --git a/source/blender/render/intern/source/volumetric.c b/source/blender/render/intern/source/volumetric.c index 6b1c03bd4ba..fe3af5b840e 100644 --- a/source/blender/render/intern/source/volumetric.c +++ b/source/blender/render/intern/source/volumetric.c @@ -29,15 +29,11 @@ * \ingroup render */ - #include #include #include #include -#include "MEM_guardedalloc.h" - -#include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_rand.h" #include "BLI_voxel.h" @@ -50,7 +46,6 @@ #include "DNA_lamp_types.h" #include "DNA_meta_types.h" -#include "BKE_global.h" #include "render_types.h" #include "pixelshading.h" diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c index a9253a8e635..28849ed7686 100644 --- a/source/blender/render/intern/source/zbuf.c +++ b/source/blender/render/intern/source/zbuf.c @@ -49,7 +49,6 @@ #include "MEM_guardedalloc.h" #include "DNA_lamp_types.h" -#include "DNA_mesh_types.h" #include "DNA_node_types.h" #include "DNA_meshdata_types.h" #include "DNA_material_types.h" diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index 3c7a7676a63..28bddb47778 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -47,7 +47,6 @@ #include "BLI_blenlib.h" #include "BLI_ghash.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_library.h" diff --git a/source/blender/windowmanager/intern/wm_dragdrop.c b/source/blender/windowmanager/intern/wm_dragdrop.c index 7675d4d4418..2aa177602cb 100644 --- a/source/blender/windowmanager/intern/wm_dragdrop.c +++ b/source/blender/windowmanager/intern/wm_dragdrop.c @@ -44,13 +44,8 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "BKE_blender.h" #include "BKE_context.h" -#include "BKE_idprop.h" -#include "BKE_library.h" -#include "BKE_main.h" #include "BKE_screen.h" -#include "BKE_global.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index e3a67c3824e..96824eca578 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -49,8 +49,6 @@ #include "BIF_gl.h" #include "BKE_context.h" -#include "BKE_global.h" -#include "BKE_screen.h" #include "GHOST_C-api.h" diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 9d04beac5ee..55f18661712 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -51,7 +51,6 @@ #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_global.h" @@ -64,7 +63,6 @@ #include "ED_fileselect.h" #include "ED_info.h" -#include "ED_render.h" #include "ED_screen.h" #include "ED_view3d.h" #include "ED_util.h" diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index c4d08e7e900..997bb12d711 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -62,7 +62,6 @@ #include "BLF_translation.h" -#include "DNA_anim_types.h" #include "DNA_object_types.h" #include "DNA_space_types.h" #include "DNA_userdef_types.h" @@ -75,18 +74,12 @@ #include "BKE_blender.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_DerivedMesh.h" -#include "BKE_font.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" -#include "BKE_multires.h" #include "BKE_packedFile.h" #include "BKE_report.h" #include "BKE_sound.h" #include "BKE_screen.h" -#include "BKE_texture.h" - #include "BLO_readfile.h" #include "BLO_writefile.h" @@ -99,9 +92,7 @@ #include "ED_datafiles.h" #include "ED_fileselect.h" -#include "ED_object.h" #include "ED_screen.h" -#include "ED_sculpt.h" #include "ED_view3d.h" #include "ED_util.h" diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index d4a23dcc8b6..5dafadc5a47 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -39,12 +39,10 @@ #endif #include "MEM_guardedalloc.h" -#include "MEM_CacheLimiterC-Api.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_userdef_types.h" #include "DNA_windowmanager_types.h" @@ -59,10 +57,7 @@ #include "BKE_blender.h" #include "BKE_context.h" #include "BKE_screen.h" -#include "BKE_curve.h" -#include "BKE_displist.h" #include "BKE_DerivedMesh.h" -#include "BKE_font.h" #include "BKE_global.h" #include "BKE_library.h" #include "BKE_main.h" @@ -71,7 +66,6 @@ #include "BKE_report.h" #include "BKE_addon.h" -#include "BKE_packedFile.h" #include "BKE_sequencer.h" /* free seq clipboard */ #include "BKE_material.h" /* clear_matcopybuf */ #include "BKE_tracking.h" /* free tracking clipboard */ diff --git a/source/blender/windowmanager/intern/wm_jobs.c b/source/blender/windowmanager/intern/wm_jobs.c index 7c0d7bf3606..74c504050ae 100644 --- a/source/blender/windowmanager/intern/wm_jobs.c +++ b/source/blender/windowmanager/intern/wm_jobs.c @@ -40,13 +40,8 @@ #include "BLI_threads.h" #include "BLI_utildefines.h" -#include "BKE_blender.h" #include "BKE_context.h" -#include "BKE_idprop.h" #include "BKE_global.h" -#include "BKE_library.h" -#include "BKE_main.h" -#include "BKE_report.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index c0326e3582b..0163517545f 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -43,11 +43,9 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_screen.h" diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 6cd4b898428..7b00b704cd1 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -91,7 +91,6 @@ #include "ED_screen.h" #include "ED_util.h" -#include "ED_object.h" #include "ED_view3d.h" #include "RNA_access.h" diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c index 6bacd399767..445ba7344d3 100644 --- a/source/blender/windowmanager/intern/wm_playanim.c +++ b/source/blender/windowmanager/intern/wm_playanim.c @@ -53,15 +53,12 @@ #include "BLI_fileops.h" #include "BLI_listbase.h" #include "BLI_path_util.h" -#include "BLI_rect.h" #include "BLI_string.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "BKE_blender.h" #include "BKE_depsgraph.h" -#include "BKE_global.h" #include "BKE_image.h" #include "BIF_gl.h" diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c index ecf22fea454..1792ea40a1a 100644 --- a/source/blender/windowmanager/intern/wm_subwindow.c +++ b/source/blender/windowmanager/intern/wm_subwindow.c @@ -45,9 +45,7 @@ #include "BLI_math.h" #include "BLI_utildefines.h" - #include "BKE_context.h" -#include "BKE_global.h" #include "BIF_gl.h" diff --git a/source/creator/creator.c b/source/creator/creator.c index de320386bf8..0dad2fd6b75 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -89,7 +89,6 @@ #include "BKE_main.h" #include "BKE_material.h" #include "BKE_modifier.h" -#include "BKE_packedFile.h" #include "BKE_scene.h" #include "BKE_node.h" #include "BKE_report.h" -- cgit v1.2.3