Browse Source

ObjectLoader: Clean up.

Mr.doob 8 years ago
parent
commit
5e2ba4108b
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/loaders/ObjectLoader.js

+ 2 - 3
src/loaders/ObjectLoader.js

@@ -2,7 +2,6 @@ import { TextureMapping, TextureWrapping, TextureFilter } from '../constants';
 import { Color } from '../math/Color';
 import { Matrix4 } from '../math/Matrix4';
 import { Object3D } from '../core/Object3D';
-import { Bone } from '../objects/Bone';
 import { Group } from '../objects/Group';
 import { Sprite } from '../objects/Sprite';
 import { Points } from '../objects/Points';
@@ -35,7 +34,7 @@ import * as Geometries from '../geometries/Geometries';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function ObjectLoader ( manager ) {
+function ObjectLoader( manager ) {
 
 	this.manager = ( manager !== undefined ) ? manager : DefaultLoadingManager;
 	this.texturePath = '';
@@ -107,7 +106,7 @@ Object.assign( ObjectLoader.prototype, {
 
 		} );
 
-		var textures  = this.parseTextures( json.textures, images );
+		var textures = this.parseTextures( json.textures, images );
 		var materials = this.parseMaterials( json.materials, textures );
 
 		var object = this.parseObject( json.object, geometries, materials );