Mention that replace_by doesn't free the node
(cherry picked from commit 58a3ea5453
)
This commit is contained in:
parent
2ef2879d7b
commit
a7d950ab8e
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@
|
||||||
<argument index="1" name="keep_data" type="bool" default="false" />
|
<argument index="1" name="keep_data" type="bool" default="false" />
|
||||||
<description>
|
<description>
|
||||||
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.
|
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.
|
||||||
|
Note that the replaced node is not automatically freed, so you either need to keep it in a variable for later use or free it using [method Object.free].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="request_ready">
|
<method name="request_ready">
|
||||||
|
|
Loading…
Reference in a new issue