From 1ef6be368683b299cc65ee4c0b79ccbd108d2836 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 17 Dec 2019 10:15:22 +1100 Subject: Cleanup: redundant struct declarations --- source/blender/blenkernel/BKE_pbvh.h | 1 - source/blender/blenlib/BLI_task.h | 1 - source/blender/draw/intern/draw_common.h | 2 -- source/blender/editors/include/ED_mball.h | 1 - source/blender/editors/include/ED_transform.h | 3 --- source/blender/editors/transform/transform_snap.h | 2 ++ 6 files changed, 2 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h index e1e4b99fe53..9eb10d296de 100644 --- a/source/blender/blenkernel/BKE_pbvh.h +++ b/source/blender/blenkernel/BKE_pbvh.h @@ -48,7 +48,6 @@ struct Mesh; struct PBVH; struct PBVHNode; struct SubdivCCG; -struct TaskParallelSettings; struct TaskParallelTLS; typedef struct PBVH PBVH; diff --git a/source/blender/blenlib/BLI_task.h b/source/blender/blenlib/BLI_task.h index 05c3d43a0de..24346454a3f 100644 --- a/source/blender/blenlib/BLI_task.h +++ b/source/blender/blenlib/BLI_task.h @@ -19,7 +19,6 @@ #include /* for memset() */ -struct Link; struct ListBase; /** \file diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h index a486eb6ba77..97afb5e6aa4 100644 --- a/source/blender/draw/intern/draw_common.h +++ b/source/blender/draw/intern/draw_common.h @@ -23,10 +23,8 @@ #ifndef __DRAW_COMMON_H__ #define __DRAW_COMMON_H__ -struct DRWCallBuffer; struct DRWPass; struct DRWShadingGroup; -struct GPUBatch; struct GPUMaterial; struct ModifierData; struct Object; diff --git a/source/blender/editors/include/ED_mball.h b/source/blender/editors/include/ED_mball.h index 5afb645d9e7..8ffae0f2b66 100644 --- a/source/blender/editors/include/ED_mball.h +++ b/source/blender/editors/include/ED_mball.h @@ -25,7 +25,6 @@ #define __ED_MBALL_H__ struct Base; -struct MetaBall; struct Object; struct UndoType; struct bContext; diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index 5f7730a94e3..29bac9df93a 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -27,8 +27,6 @@ /* ******************* Registration Function ********************** */ struct Object; -struct SnapObjectContext; -struct SnapObjectParams; struct bContext; struct wmKeyConfig; struct wmOperatorType; @@ -107,7 +105,6 @@ bool calculateTransformCenter(struct bContext *C, struct Object; struct Scene; -struct TransInfo; struct wmGizmoGroup; struct wmGizmoGroupType; diff --git a/source/blender/editors/transform/transform_snap.h b/source/blender/editors/transform/transform_snap.h index f9f6a513f63..a188e2eb829 100644 --- a/source/blender/editors/transform/transform_snap.h +++ b/source/blender/editors/transform/transform_snap.h @@ -26,6 +26,8 @@ /* For enum. */ #include "DNA_space_types.h" +struct SnapObjectParams; + bool peelObjectsTransform(struct TransInfo *t, const float mval[2], const bool use_peel_object, -- cgit v1.2.3