From a6f3ef3ac7306a887ad607fb22f8fde5defdf41e Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Mon, 9 Nov 2020 23:28:24 -0500 Subject: Document InstancePlaceholder.create_instance not being thread-safe. --- doc/classes/InstancePlaceholder.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/InstancePlaceholder.xml b/doc/classes/InstancePlaceholder.xml index 39827f6604..defd23afb1 100644 --- a/doc/classes/InstancePlaceholder.xml +++ b/doc/classes/InstancePlaceholder.xml @@ -18,13 +18,14 @@ + Not thread-safe. Use [method Object.call_deferred] if calling from a thread. - Gets the path to the [PackedScene] resource file that is loaded by default when calling [method create_instance]. + Gets the path to the [PackedScene] resource file that is loaded by default when calling [method create_instance]. Not thread-safe. Use [method Object.call_deferred] if calling from a thread. -- cgit v1.2.3