Browse Source

Merge pull request #15217 from mrdoob/Mugen87-patch-1

Update ObjectLoader.js
Michael Herzog 6 years ago
parent
commit
1a560a3426
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/loaders/ObjectLoader.js

+ 1 - 1
src/loaders/ObjectLoader.js

@@ -75,7 +75,7 @@ Object.assign( ObjectLoader.prototype, {
 		var scope = this;
 		var scope = this;
 
 
 		var path = ( this.path === undefined ) ? LoaderUtils.extractUrlBase( url ) : this.path;
 		var path = ( this.path === undefined ) ? LoaderUtils.extractUrlBase( url ) : this.path;
-		this.resourcePath = this.resourcePath || path;
+		this.resourcePath = this.resourcePath || path;
 
 
 		var loader = new FileLoader( scope.manager );
 		var loader = new FileLoader( scope.manager );
 		loader.setPath( this.path );
 		loader.setPath( this.path );