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/editors/physics/particle_boids.c | 1 - source/blender/editors/physics/particle_edit.c | 2 -- source/blender/editors/physics/physics_fluid.c | 15 --------------- source/blender/editors/physics/physics_pointcache.c | 7 ------- source/blender/editors/physics/rigidbody_constraint.c | 5 ----- source/blender/editors/physics/rigidbody_world.c | 7 ------- 6 files changed, 37 deletions(-) (limited to 'source/blender/editors/physics') 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" -- cgit v1.2.3