diff options
author | Julian Eisel <julian@blender.org> | 2022-03-14 18:39:42 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-03-14 18:50:49 +0300 |
commit | 9b298cf3dbec9e246748448cc635a5055fe90c19 (patch) | |
tree | c9fb6ddaf16bec463d9d4dd5a65a8c9d285afc8f /source/blender/editors/space_outliner/outliner_draw.cc | |
parent | cff6eb65804da3a06bde3c9152bec26e01a24992 (diff) |
RNA: Generate property declerations header, solving msg-bus C++ incompatibility
Lets `makesrna` generate a `RNA_prototypes.h` header with declarations for all
RNA properties. This can be included in regular source files when needing to
reference RNA properties statically.
This solves an issue on MSVC with adding such declarations in functions, like
we used to do. See 800fc1736748. Removes any such declarations and the related
FIXME comments.
Reviewed By: campbellbarton, LazyDodo, brecht
Differential Revision: https://developer.blender.org/D13837
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.cc')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.cc b/source/blender/editors/space_outliner/outliner_draw.cc index 7b62b28abc5..4ef0bbbcde8 100644 --- a/source/blender/editors/space_outliner/outliner_draw.cc +++ b/source/blender/editors/space_outliner/outliner_draw.cc @@ -660,8 +660,6 @@ static void scenes__collection_set_flag_recursive_fn(bContext *C, void *poin, vo outliner_collection_set_flag_recursive_fn(C, nullptr, collection, propname); } -/* FIXME: See comment above #WM_msg_publish_rna_prop(). */ -extern "C" { static void namebutton_fn(bContext *C, void *tsep, char *oldname) { Main *bmain = CTX_data_main(C); @@ -859,7 +857,6 @@ static void namebutton_fn(bContext *C, void *tsep, char *oldname) tselem->flag &= ~TSE_TEXTBUT; } } -} struct RestrictProperties { bool initialized; |