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/windowmanager/gizmo/intern/wm_gizmo.c | 1 + source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c | 1 + source/blender/windowmanager/gizmo/intern/wm_gizmo_type.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source/blender/windowmanager/gizmo') diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c index db4926f3430..7853c7096dd 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c @@ -16,6 +16,7 @@ #include "RNA_access.h" #include "RNA_define.h" +#include "RNA_prototypes.h" #include "BKE_global.h" #include "BKE_idprop.h" diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c index e6b5e8f4aa6..d5333c62f64 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group_type.c @@ -15,6 +15,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/windowmanager/gizmo/intern/wm_gizmo_type.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_type.c index 9d0e60824f3..7c9398732f7 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_type.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_type.c @@ -20,6 +20,7 @@ #include "RNA_access.h" #include "RNA_define.h" +#include "RNA_prototypes.h" #include "WM_api.h" #include "WM_types.h" -- cgit v1.2.3