From d1759639dc5a02d2ccde16d1c2fb1e951b15f1ea Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 Aug 2010 05:46:10 +0000 Subject: - remove unused includes IMB_*, BIF_* & MEM_* - remove MEM_guardedalloc.h from header files (include directly) --- source/blender/modifiers/intern/MOD_array.c | 8 +++++--- source/blender/modifiers/intern/MOD_bevel.c | 1 + source/blender/modifiers/intern/MOD_boolean_util.c | 2 ++ source/blender/modifiers/intern/MOD_build.c | 2 ++ source/blender/modifiers/intern/MOD_cloth.c | 2 ++ source/blender/modifiers/intern/MOD_collision.c | 2 ++ source/blender/modifiers/intern/MOD_mask.c | 6 ++++-- source/blender/modifiers/intern/MOD_particleinstance.c | 2 ++ 8 files changed, 20 insertions(+), 5 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 66c5f375ba8..a6fefbcd863 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -32,14 +32,16 @@ /* Array modifier: duplicates the object multiple times along an axis */ -#include "DNA_curve_types.h" -#include "DNA_meshdata_types.h" -#include "DNA_object_types.h" +#include "MEM_guardedalloc.h" #include "BLI_math.h" #include "BLI_ghash.h" #include "BLI_edgehash.h" +#include "DNA_curve_types.h" +#include "DNA_meshdata_types.h" +#include "DNA_object_types.h" + #include "BKE_cdderivedmesh.h" #include "BKE_displist.h" #include "BKE_mesh.h" diff --git a/source/blender/modifiers/intern/MOD_bevel.c b/source/blender/modifiers/intern/MOD_bevel.c index eabd6e4957d..62c7dfa5600 100644 --- a/source/blender/modifiers/intern/MOD_bevel.c +++ b/source/blender/modifiers/intern/MOD_bevel.c @@ -29,6 +29,7 @@ * ***** END GPL LICENSE BLOCK ***** * */ +#include "MEM_guardedalloc.h" #include "BKE_bmesh.h" #include "BKE_cdderivedmesh.h" diff --git a/source/blender/modifiers/intern/MOD_boolean_util.c b/source/blender/modifiers/intern/MOD_boolean_util.c index 11d47bfffb1..2fba4c6a603 100644 --- a/source/blender/modifiers/intern/MOD_boolean_util.c +++ b/source/blender/modifiers/intern/MOD_boolean_util.c @@ -34,6 +34,8 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" +#include "MEM_guardedalloc.h" + #include "BLI_math.h" #include "BLI_ghash.h" diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c index 47693ba337e..8fc1be7d5ee 100644 --- a/source/blender/modifiers/intern/MOD_build.c +++ b/source/blender/modifiers/intern/MOD_build.c @@ -30,6 +30,8 @@ * */ +#include "MEM_guardedalloc.h" + #include "BLI_rand.h" #include "BLI_ghash.h" diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c index 4d850e1bd95..bfb5f6ee028 100644 --- a/source/blender/modifiers/intern/MOD_cloth.c +++ b/source/blender/modifiers/intern/MOD_cloth.c @@ -34,6 +34,8 @@ #include "DNA_scene_types.h" #include "DNA_object_types.h" +#include "MEM_guardedalloc.h" + #include "BKE_cloth.h" #include "BKE_cdderivedmesh.h" #include "BKE_global.h" diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c index 9e979822d6f..32fbd58839a 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -34,6 +34,8 @@ #include "DNA_object_types.h" #include "DNA_meshdata_types.h" +#include "MEM_guardedalloc.h" + #include "BLI_math.h" #include "BKE_collision.h" diff --git a/source/blender/modifiers/intern/MOD_mask.c b/source/blender/modifiers/intern/MOD_mask.c index 15547a1d95e..94eb2380b66 100644 --- a/source/blender/modifiers/intern/MOD_mask.c +++ b/source/blender/modifiers/intern/MOD_mask.c @@ -30,13 +30,15 @@ * */ +#include "MEM_guardedalloc.h" + +#include "BLI_ghash.h" + #include "DNA_armature_types.h" #include "DNA_meshdata_types.h" #include "DNA_modifier_types.h" #include "DNA_object_types.h" -#include "BLI_ghash.h" - #include "BKE_cdderivedmesh.h" #include "BKE_mesh.h" #include "BKE_modifier.h" diff --git a/source/blender/modifiers/intern/MOD_particleinstance.c b/source/blender/modifiers/intern/MOD_particleinstance.c index 0f4bf00d1ad..4f5acc60cda 100644 --- a/source/blender/modifiers/intern/MOD_particleinstance.c +++ b/source/blender/modifiers/intern/MOD_particleinstance.c @@ -32,6 +32,8 @@ #include "DNA_meshdata_types.h" +#include "MEM_guardedalloc.h" + #include "BLI_math.h" #include "BLI_listbase.h" #include "BLI_rand.h" -- cgit v1.2.3