Page Menu
Home
Search
Configure Global Search
Log In
Paste
P2639
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Ray Molenkamp (LazyDodo)
on Dec 2 2021, 4:54 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
diff --git a/source/blender/editors/space_outliner/outliner_tools.cc b/source/blender/editors/space_outliner/outliner_tools.cc
index 9484cbccd13..d89429d4037 100644
--- a/source/blender/editors/space_outliner/outliner_tools.cc
+++ b/source/blender/editors/space_outliner/outliner_tools.cc
@@ -1696,6 +1696,7 @@ static TreeTraversalAction outliner_find_objects_to_delete(TreeElement *te, void
return TRAVERSE_CONTINUE;
}
+extern "C" PropertyRNA rna_LayerObjects_active;
static int outliner_delete_exec(bContext *C, wmOperator *op)
{
diff --git a/source/blender/windowmanager/message_bus/wm_message_bus.h b/source/blender/windowmanager/message_bus/wm_message_bus.h
index 3c3ef0a15c1..19bf66efc7e 100644
--- a/source/blender/windowmanager/message_bus/wm_message_bus.h
+++ b/source/blender/windowmanager/message_bus/wm_message_bus.h
@@ -238,11 +238,6 @@ void WM_msg_publish_ID(struct wmMsgBus *mbus, struct ID *id);
# define WM_msg_publish_rna_prop(mbus, id_, data_, type_, prop_) \
{ \
wmMsgParams_RNA msg_key_params_ = {{0}}; \
- _WM_MESSAGE_EXTERN_BEGIN; \
- extern "C" { \
- PropertyRNA rna_##type_##_##prop_; \
- } \
- _WM_MESSAGE_EXTERN_END; \
RNA_pointer_create(id_, &RNA_##type_, data_, &msg_key_params_.ptr); \
msg_key_params_.prop = &rna_##type_##_##prop_; \
WM_msg_publish_rna_params(mbus, &msg_key_params_); \
Event Timeline
Ray Molenkamp (LazyDodo)
created this paste.
Dec 2 2021, 4:54 PM
Log In to Comment