From 1e4aab36c237b751c23be161217d989472bfaf20 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 26 Jan 2019 20:41:52 +1100 Subject: Cleanup: remove redundant BKE/BLI/BIF headers --- source/blender/blenkernel/intern/rigidbody.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source/blender/blenkernel/intern/rigidbody.c') diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c index 4e6d6cf0971..67e0834e088 100644 --- a/source/blender/blenkernel/intern/rigidbody.c +++ b/source/blender/blenkernel/intern/rigidbody.c @@ -39,7 +39,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_blenlib.h" #include "BLI_math.h" #ifdef WITH_BULLET @@ -57,10 +56,7 @@ #include "BKE_collection.h" #include "BKE_effect.h" -#include "BKE_global.h" #include "BKE_layer.h" -#include "BKE_library.h" -#include "BKE_library_query.h" #include "BKE_main.h" #include "BKE_mesh.h" #include "BKE_mesh_runtime.h" @@ -68,6 +64,11 @@ #include "BKE_pointcache.h" #include "BKE_rigidbody.h" #include "BKE_scene.h" +#ifdef WITH_BULLET +# include "BKE_global.h" +# include "BKE_library.h" +# include "BKE_library_query.h" +#endif #include "DEG_depsgraph.h" #include "DEG_depsgraph_query.h" -- cgit v1.2.3