Bläddra i källkod

Add traversal note

Maciek Jurczyk 4 år sedan
förälder
incheckning
02c0511ad7
1 ändrade filer med 2 tillägg och 2 borttagningar
  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>