summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2020-11-09 23:28:24 -0500
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2020-11-11 21:34:51 -0500
commita6f3ef3ac7306a887ad607fb22f8fde5defdf41e (patch)
treeff76e6c8ea56b416fa18ea1a4462fe4fd341d2a4
parenta6d4484e57f54ac4570a4f6fa5a13f7bf4933004 (diff)
Document InstancePlaceholder.create_instance not being thread-safe.
-rw-r--r--doc/classes/InstancePlaceholder.xml3
1 files changed, 2 insertions, 1 deletions
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 @@
<argument index="1" name="custom_scene" type="PackedScene" default="null">
</argument>
<description>
+ Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description>
</method>
<method name="get_instance_path" qualifiers="const">
<return type="String">
</return>
<description>
- 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.
</description>
</method>
<method name="get_stored_values">