diff options
author | Julian Eisel <julian@blender.org> | 2022-03-14 18:54:46 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-03-14 19:08:46 +0300 |
commit | a5578351c38e2b2bb45d940a2fc57354e5fe3a5e (patch) | |
tree | 3d6b5d275f27f6b549772586c2e3af59ea728a1d /source/blender/editors/object | |
parent | cc98b40f870c39a997cf99412b308b8a0e82ed44 (diff) |
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
Diffstat (limited to 'source/blender/editors/object')
7 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_collection.c b/source/blender/editors/object/object_collection.c index cdc262b23e1..054c9e1de46 100644 --- a/source/blender/editors/object/object_collection.c +++ b/source/blender/editors/object/object_collection.c @@ -33,6 +33,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "UI_interface_icons.h" diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 3f4ed27a175..2e878770347 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -50,6 +50,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "ED_keyframing.h" #include "ED_object.h" diff --git a/source/blender/editors/object/object_data_transfer.c b/source/blender/editors/object/object_data_transfer.c index 9029974c86b..3abf0d68eb3 100644 --- a/source/blender/editors/object/object_data_transfer.c +++ b/source/blender/editors/object/object_data_transfer.c @@ -32,6 +32,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/object/object_gpencil_modifier.c b/source/blender/editors/object/object_gpencil_modifier.c index f59a2933d23..9b62823ea8a 100644 --- a/source/blender/editors/object/object_gpencil_modifier.c +++ b/source/blender/editors/object/object_gpencil_modifier.c @@ -37,6 +37,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "ED_object.h" #include "ED_screen.h" diff --git a/source/blender/editors/object/object_hook.c b/source/blender/editors/object/object_hook.c index dffbb3bedd5..e8637b57724 100644 --- a/source/blender/editors/object/object_hook.c +++ b/source/blender/editors/object/object_hook.c @@ -41,6 +41,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "ED_curve.h" #include "ED_mesh.h" diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index e0d25baec16..b0c8646dd04 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -73,6 +73,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "ED_armature.h" #include "ED_mesh.h" diff --git a/source/blender/editors/object/object_shader_fx.c b/source/blender/editors/object/object_shader_fx.c index d58ea1fd54e..973f4d4561d 100644 --- a/source/blender/editors/object/object_shader_fx.c +++ b/source/blender/editors/object/object_shader_fx.c @@ -37,6 +37,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "ED_object.h" #include "ED_screen.h" |