소스 검색

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

zacryol 3 년 전
부모
커밋
6941ab9ae5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/Node.xml

+ 1 - 0
doc/classes/Node.xml

@@ -551,6 +551,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">