Mention remove_node() side effect of potentially setting owner to null
(cherry picked from commit 6941ab9ae5
)
This commit is contained in:
parent
f3b69e3cf4
commit
df1eebd8d8
@ -497,6 +497,7 @@
|
|||||||
<argument index="0" name="node" type="Node" />
|
<argument index="0" name="node" type="Node" />
|
||||||
<description>
|
<description>
|
||||||
Removes a child node. The node is NOT deleted and must be deleted manually.
|
Removes a child node. The node is NOT deleted and must be deleted manually.
|
||||||
|
[b]Note:[/b] This function may set the [member owner] of the removed Node (or its descendants) to be [code]null[/code], if that [member owner] is no longer a parent or ancestor.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="remove_from_group">
|
<method name="remove_from_group">
|
||||||
|
Loading…
Reference in New Issue
Block a user