Takahiro hace 6 años
padre
commit
be90b28853
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/objects/LOD.js

+ 3 - 1
src/objects/LOD.js

@@ -66,7 +66,9 @@ LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 
 		levels.splice( l, 0, { distance: distance, object: object } );
 		levels.splice( l, 0, { distance: distance, object: object } );
 
 
-		return this.add( object );
+		this.add( object );
+
+		return this;
 
 
 	},
 	},