Explorar el Código

fix Object3D.remove multi-object bug

06wj hace 8 años
padre
commit
fd203393fb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 );