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/space_buttons | |
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/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 1 | ||||
-rw-r--r-- | source/blender/editors/space_buttons/buttons_ops.c | 1 | ||||
-rw-r--r-- | source/blender/editors/space_buttons/buttons_texture.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 4e80e7ea5c2..5780b0c9df7 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -38,6 +38,7 @@ #include "BKE_screen.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "ED_buttons.h" #include "ED_physics.h" diff --git a/source/blender/editors/space_buttons/buttons_ops.c b/source/blender/editors/space_buttons/buttons_ops.c index 3de181fa540..f91ed5eb4f3 100644 --- a/source/blender/editors/space_buttons/buttons_ops.c +++ b/source/blender/editors/space_buttons/buttons_ops.c @@ -31,6 +31,7 @@ #include "ED_undo.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "UI_interface.h" #include "UI_resources.h" diff --git a/source/blender/editors/space_buttons/buttons_texture.c b/source/blender/editors/space_buttons/buttons_texture.c index e98d51b7637..a5cb9170f98 100644 --- a/source/blender/editors/space_buttons/buttons_texture.c +++ b/source/blender/editors/space_buttons/buttons_texture.c @@ -40,6 +40,7 @@ #endif #include "RNA_access.h" +#include "RNA_prototypes.h" #include "UI_interface.h" #include "UI_resources.h" |