Browse Source

Mention remove_node() side effect of potentially setting owner to null

(cherry picked from commit 6941ab9ae5ec6cc9ee9aef29220fb5ab780e88da)
zacryol 3 years ago
parent
commit
df1eebd8d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -497,6 +497,7 @@
 			<argument index="0" name="node" type="Node" />
 			<description>
 				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>
 		</method>
 		<method name="remove_from_group">