Document InstancePlaceholder.create_instance not being thread-safe.

(cherry picked from commit a6f3ef3ac7)
This commit is contained in:
Wilson E. Alvarez 2020-11-09 23:28:24 -05:00 committed by Rémi Verschelde
parent beddfb4437
commit aa6406874e
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -18,13 +18,14 @@
<argument index="1" name="custom_scene" type="PackedScene" default="null"> <argument index="1" name="custom_scene" type="PackedScene" default="null">
</argument> </argument>
<description> <description>
Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description> </description>
</method> </method>
<method name="get_instance_path" qualifiers="const"> <method name="get_instance_path" qualifiers="const">
<return type="String"> <return type="String">
</return> </return>
<description> <description>
Gets the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance]. Gets the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance]. Not thread-safe. Use [method Object.call_deferred] if calling from a thread.
</description> </description>
</method> </method>
<method name="get_stored_values"> <method name="get_stored_values">