Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-03-14 18:54:46 +0300
committerFabian Schempp <fabianschempp@googlemail.com>2022-04-11 01:30:41 +0300
commitfb55edd216679d7019f320f1dbfadace3d0f9570 (patch)
tree01bb7f576765784fe2f616ad34da175adb359a49 /source/blender/editors/space_outliner
parent54d8f61effa4ad3e85a101c6b4093076b5b967d7 (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_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.cc1
-rw-r--r--source/blender/editors/space_outliner/tree/common.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.cc b/source/blender/editors/space_outliner/outliner_select.cc
index 233051f31ff..a583eb0364f 100644
--- a/source/blender/editors/space_outliner/outliner_select.cc
+++ b/source/blender/editors/space_outliner/outliner_select.cc
@@ -62,6 +62,7 @@
#include "RNA_access.h"
#include "RNA_define.h"
+#include "RNA_prototypes.h"
#include "outliner_intern.hh"
#include "tree/tree_element_seq.hh"
diff --git a/source/blender/editors/space_outliner/tree/common.cc b/source/blender/editors/space_outliner/tree/common.cc
index e33a8ddabb5..349d36e2fe6 100644
--- a/source/blender/editors/space_outliner/tree/common.cc
+++ b/source/blender/editors/space_outliner/tree/common.cc
@@ -15,6 +15,7 @@
#include "DNA_outliner_types.h"
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "../outliner_intern.hh"
#include "common.hh"