Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-12-15 02:47:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-12-15 04:34:14 +0300
commit525364be31aafa547f4b17b9947074ed5a5b2570 (patch)
tree1826a3cb8ae72f0f2c936c419366323c88b21215 /source/blender/blenkernel/BKE_pointcache.h
parent15f2f69694cb23d04989d3faea4853468a3b140a (diff)
Cleanup: reduce indirect DNA header inclusion
Remove DNA headers, using forward declarations where possible. Also removed duplicate header, header including it's self and unnecessary inclusion of libc system headers from BKE header.
Diffstat (limited to 'source/blender/blenkernel/BKE_pointcache.h')
-rw-r--r--source/blender/blenkernel/BKE_pointcache.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_pointcache.h b/source/blender/blenkernel/BKE_pointcache.h
index f2edebededc..d3ae043588d 100644
--- a/source/blender/blenkernel/BKE_pointcache.h
+++ b/source/blender/blenkernel/BKE_pointcache.h
@@ -23,12 +23,10 @@
* \ingroup bke
*/
-#include "DNA_ID.h"
-#include "DNA_boid_types.h"
-#include "DNA_dynamicpaint_types.h"
-#include "DNA_object_force_types.h"
-#include "DNA_pointcache_types.h"
-#include <stdio.h> /* for FILE */
+#include "DNA_boid_types.h" /* for #BoidData */
+#include "DNA_pointcache_types.h" /* for #BPHYS_TOT_DATA */
+
+#include <stdio.h> /* for #FILE */
#ifdef __cplusplus
extern "C" {
@@ -93,6 +91,7 @@ struct SoftBody;
struct ViewLayer;
struct BlendWriter;
struct BlendDataReader;
+struct DynamicPaintSurface;
/* temp structure for read/write */
typedef struct PTCacheData {