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/space_graph/graph_buttons.c | 1 + source/blender/editors/space_graph/graph_edit.c | 1 + source/blender/editors/space_graph/graph_utils.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source/blender/editors/space_graph') diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 2bb743833d1..bc2705df314 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -41,6 +41,7 @@ #include "WM_types.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "ED_anim_api.h" #include "ED_keyframing.h" diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 4c1fcf5263a..bc82e7e20c2 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -28,6 +28,7 @@ #include "RNA_access.h" #include "RNA_define.h" #include "RNA_enum_types.h" +#include "RNA_prototypes.h" #include "BLT_translation.h" diff --git a/source/blender/editors/space_graph/graph_utils.c b/source/blender/editors/space_graph/graph_utils.c index 9f934e47ebb..6470fa65c39 100644 --- a/source/blender/editors/space_graph/graph_utils.c +++ b/source/blender/editors/space_graph/graph_utils.c @@ -27,6 +27,7 @@ #include "UI_interface.h" #include "RNA_access.h" +#include "RNA_prototypes.h" #include "graph_intern.h" /* own include */ -- cgit v1.2.3