Sfoglia il codice sorgente

fix Object3D.remove multi-object bug

06wj 8 anni fa
parent
commit
fd203393fb
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/core/Object3D.js

+ 2 - 0
src/core/Object3D.js

@@ -356,6 +356,8 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
 
 			}
 
+			return;
+			
 		}
 
 		var index = this.children.indexOf( object );