From a5578351c38e2b2bb45d940a2fc57354e5fe3a5e Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 14 Mar 2022 16:54:46 +0100 Subject: Auto-generate RNA-structs declarations in `RNA_prototypes.h` So far it was needed to declare a new RNA struct to `RNA_access.h` manually. Since 9b298cf3dbec we generate a `RNA_prototypes.h` for RNA property declarations. Now this also includes the RNA struct declarations, so they don't have to be added manually anymore. Differential Revision: https://developer.blender.org/D13862 Reviewed by: brecht, campbellbarton --- source/blender/editors/physics/particle_boids.c | 1 + source/blender/editors/physics/particle_object.c | 1 + source/blender/editors/physics/physics_pointcache.c | 1 + source/blender/editors/physics/rigidbody_object.c | 1 + 4 files changed, 4 insertions(+) (limited to 'source/blender/editors/physics') diff --git a/source/blender/editors/physics/particle_boids.c b/source/blender/editors/physics/particle_boids.c index d5dae03fce0..e95be0a7cdd 100644 --- a/source/blender/editors/physics/particle_boids.c +++ b/source/blender/editors/physics/particle_boids.c @@ -24,6 +24,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 27cd7d9c1dd..24860b9c4d8 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -39,6 +39,7 @@ #include "RNA_access.h" #include "RNA_define.h" +#include "RNA_prototypes.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index eaad0771399..97cd0d1d149 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -29,6 +29,7 @@ #include "RNA_access.h" #include "RNA_define.h" +#include "RNA_prototypes.h" #include "physics_intern.h" diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c index a7f6a3ab7b0..8f69947ceb0 100644 --- a/source/blender/editors/physics/rigidbody_object.c +++ b/source/blender/editors/physics/rigidbody_object.c @@ -30,6 +30,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "WM_api.h" #include "WM_types.h" -- cgit v1.2.3