Skip to content

Commit 67a7ad9

Browse files
Mugen87mrdoob
authored andcommitted
Revert "Use a custom loader to load textures in FBXLoader (#25730)" (#25746)
This reverts commit f327b7a.
1 parent 4e361e9 commit 67a7ad9

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

examples/jsm/loaders/FBXLoader.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -450,17 +450,7 @@ class FBXTreeParser {
450450

451451
} else {
452452

453-
let loader = this.manager.getHandler( fileName );
454-
455-
if ( loader === null ) {
456-
457-
loader = this.textureLoader;
458-
459-
}
460-
461-
loader.setPath( currentPath );
462-
loader.setCrossOrigin( this.crossOrigin );
463-
texture = loader.load( fileName );
453+
texture = this.textureLoader.load( fileName );
464454

465455
}
466456

0 commit comments

Comments
 (0)