Skip to content

Commit

Permalink
Merge pull request #2 from Kyle-Larson/FBX-Material-Application
Browse files Browse the repository at this point in the history
FBX Quick Fix - XHRLoader
  • Loading branch information
Kyle-Larson authored Dec 14, 2016
2 parents 3e09e8d + 7660ed9 commit e10cd91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/js/loaders/FBXLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

var scope = this;

var loader = new THREE.FileLoader( scope.manager );
var loader = new THREE.XHRLoader( scope.manager );
// loader.setCrossOrigin( this.crossOrigin );
loader.load( url, function ( text ) {

Expand Down Expand Up @@ -597,7 +597,7 @@

loadFile: function ( url, onLoad, onProgress, onError, responseType ) {

var loader = new THREE.FileLoader( this.manager );
var loader = new THREE.XHRLoader( this.manager );

loader.setResponseType( responseType );

Expand Down

0 comments on commit e10cd91

Please sign in to comment.