summaryrefslogtreecommitdiffstats
path: root/core/object
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2024-05-27 13:20:45 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2024-05-31 09:42:37 +0200
commitf61c63e3a1d525ccc204f64ad813c4ba77077468 (patch)
tree9f438a95385b0ebc8e2e2141444e2a55fe1d83c7 /core/object
parente7dd6f11ed1ed4d72186d3a90d5f4ef42e79c4d0 (diff)
downloadredot-engine-f61c63e3a1d525ccc204f64ad813c4ba77077468.tar.gz
Avoid editor error reporting using resource loader thread's call queues
Diffstat (limited to 'core/object')
-rw-r--r--core/object/message_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/message_queue.h b/core/object/message_queue.h
index 9f567e4dd0..673eb3845b 100644
--- a/core/object/message_queue.h
+++ b/core/object/message_queue.h
@@ -164,6 +164,7 @@ class MessageQueue : public CallQueue {
public:
_FORCE_INLINE_ static CallQueue *get_singleton() { return thread_singleton ? thread_singleton : main_singleton; }
+ _FORCE_INLINE_ static CallQueue *get_main_singleton() { return main_singleton; }
static void set_thread_singleton_override(CallQueue *p_thread_singleton);