浏览代码

Add traversal note

Maciek Jurczyk 4 年之前
父节点
当前提交
02c0511ad7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/api/en/core/Object3D.html

+ 2 - 2
docs/api/en/core/Object3D.html

@@ -413,7 +413,7 @@
 		<p>
 		callback - A function with as first argument an object3D object.<br /><br />
 
-		Executes the callback on this object and all descendants.
+		Executes the callback on this object and all descendants. <b>Warning:</b> Do not add, move, or remove the object or its descendants while traversing.
 		</p>
 
 		<h3>[method:null traverseVisible]( [param:Function callback] )</h3>
@@ -421,7 +421,7 @@
 		callback - A function with as first argument an object3D object.<br /><br />
 
 		Like traverse, but the callback will only be executed for visible objects.
-		Descendants of invisible objects are not traversed.
+		Descendants of invisible objects are not traversed. <b>Warning:</b> Do not add, move, or remove the object or its descendants while traversing.
 		</p>
 
 		<h3>[method:null traverseAncestors]( [param:Function callback] )</h3>