Browse Source

LOD: Clean up.

Mr.doob 10 years ago
parent
commit
0becbb6dcc
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/objects/LOD.js

+ 4 - 4
src/objects/LOD.js

@@ -164,10 +164,10 @@ THREE.LOD.prototype.toJSON = function ( meta ) {
 
 
 		var level = levels[ i ];
 		var level = levels[ i ];
 
 
-		data.object.levels.push({
-			distance: level.distance,
-			object: level.object.uuid
-		});
+		data.object.levels.push( {
+			object: level.object.uuid,
+			distance: level.distance
+		} );
 
 
 	}
 	}