Browse Source

Update ObjectLoader.js

Michael Herzog 6 years ago
parent
commit
7974ab4f05
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 );