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>2019-08-25 09:27:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-25 09:45:47 +0300
commit6eadd40597f7c537f6a8002e818454b85a457c1f (patch)
treeded30bee9418329c26ec4d8a33a7088004d468b7 /source/blender/depsgraph
parentf1ddc6ed0abd1821e96bb8183d4ea1ff57589ec6 (diff)
Cleanup: redundant struct declarations
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h3
-rw-r--r--source/blender/depsgraph/DEG_depsgraph_build.h3
-rw-r--r--source/blender/depsgraph/DEG_depsgraph_query.h5
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_map.h1
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_nodes.h6
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.h3
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h2
-rw-r--r--source/blender/depsgraph/intern/node/deg_node.h1
-rw-r--r--source/blender/depsgraph/intern/node/deg_node_id.h2
-rw-r--r--source/blender/depsgraph/intern/node/deg_node_operation.h1
10 files changed, 4 insertions, 23 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index bdcb4061096..fd12f90016b 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -55,9 +55,6 @@ typedef struct Depsgraph Depsgraph;
struct Main;
-struct PointerRNA;
-struct PropertyRNA;
-struct RenderEngineType;
struct Scene;
struct ViewLayer;
diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h
index 18e06410adf..37dfaf2c3e2 100644
--- a/source/blender/depsgraph/DEG_depsgraph_build.h
+++ b/source/blender/depsgraph/DEG_depsgraph_build.h
@@ -34,12 +34,9 @@ struct Depsgraph;
/* ------------------------------------------------ */
struct CacheFile;
-struct Collection;
struct CustomData_MeshMasks;
-struct EffectorWeights;
struct ID;
struct Main;
-struct ModifierData;
struct Object;
struct Scene;
struct ViewLayer;
diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h
index e3381e79e9c..82f7f33411a 100644
--- a/source/blender/depsgraph/DEG_depsgraph_query.h
+++ b/source/blender/depsgraph/DEG_depsgraph_query.h
@@ -32,14 +32,13 @@
/* Needed for the instance iterator. */
#include "DNA_object_types.h"
-struct ID;
-
struct BLI_Iterator;
-struct Base;
struct CustomData_MeshMasks;
struct Depsgraph;
struct DupliObject;
+struct ID;
struct ListBase;
+struct PointerRNA;
struct Scene;
struct ViewLayer;
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_map.h b/source/blender/depsgraph/intern/builder/deg_builder_map.h
index 0767837a587..65b493e2467 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_map.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_map.h
@@ -25,7 +25,6 @@
#include "intern/depsgraph_type.h"
-struct GSet;
struct ID;
namespace DEG {
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
index de9f0e4d6cd..65f3521b556 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
@@ -31,7 +31,6 @@
#include "DEG_depsgraph.h"
-struct Base;
struct CacheFile;
struct Camera;
struct Collection;
@@ -44,14 +43,12 @@ struct LayerCollection;
struct Light;
struct LightProbe;
struct ListBase;
-struct MTex;
struct Main;
struct Mask;
struct Material;
struct MovieClip;
struct Object;
struct ParticleSettings;
-struct Probe;
struct Scene;
struct Speaker;
struct Tex;
@@ -64,15 +61,12 @@ struct bNodeTree;
struct bPoseChannel;
struct bSound;
-struct PropertyRNA;
-
namespace DEG {
struct ComponentNode;
struct Depsgraph;
class DepsgraphBuilderCache;
struct IDNode;
-struct Node;
struct OperationNode;
struct TimeSourceNode;
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h
index 0e15818622f..e58ef989ac9 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h
@@ -51,7 +51,6 @@ struct Camera;
struct Collection;
struct EffectorWeights;
struct FCurve;
-struct GHash;
struct ID;
struct Image;
struct Key;
@@ -59,11 +58,9 @@ struct LayerCollection;
struct Light;
struct LightProbe;
struct ListBase;
-struct MTex;
struct Main;
struct Mask;
struct Material;
-struct ModifierData;
struct MovieClip;
struct Object;
struct ParticleSettings;
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 15ce57cb169..96b1a2a1f8a 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -45,13 +45,11 @@
struct GHash;
struct GSet;
struct ID;
-struct Main;
struct Scene;
struct ViewLayer;
namespace DEG {
-struct ComponentNode;
struct IDNode;
struct Node;
struct OperationNode;
diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h
index eea69502baa..acfc8d19bc7 100644
--- a/source/blender/depsgraph/intern/node/deg_node.h
+++ b/source/blender/depsgraph/intern/node/deg_node.h
@@ -29,7 +29,6 @@
#include "DEG_depsgraph_build.h"
-struct GHash;
struct ID;
struct Scene;
diff --git a/source/blender/depsgraph/intern/node/deg_node_id.h b/source/blender/depsgraph/intern/node/deg_node_id.h
index e6eb91a6b2d..35184253f5c 100644
--- a/source/blender/depsgraph/intern/node/deg_node_id.h
+++ b/source/blender/depsgraph/intern/node/deg_node_id.h
@@ -26,6 +26,8 @@
#include "intern/node/deg_node.h"
#include "BLI_sys_types.h"
+struct GHash;
+
namespace DEG {
struct ComponentNode;
diff --git a/source/blender/depsgraph/intern/node/deg_node_operation.h b/source/blender/depsgraph/intern/node/deg_node_operation.h
index b0776d186bb..87c1a7f10a1 100644
--- a/source/blender/depsgraph/intern/node/deg_node_operation.h
+++ b/source/blender/depsgraph/intern/node/deg_node_operation.h
@@ -28,7 +28,6 @@
#include "intern/depsgraph_type.h"
struct Depsgraph;
-struct ID;
namespace DEG {