Pārlūkot izejas kodu

FBXLoader: Configure TGALoader with the correct path. (#21863)

Michael Herzog 4 gadi atpakaļ
vecāks
revīzija
5ae1d3cfc8

+ 1 - 0
examples/js/loaders/FBXLoader.js

@@ -364,6 +364,7 @@
 
 				} else {
 
+					loader.setPath( this.textureLoader.path );
 					texture = loader.load( fileName );
 
 				}

+ 1 - 0
examples/jsm/loaders/FBXLoader.js

@@ -431,6 +431,7 @@ class FBXTreeParser {
 
 			} else {
 
+				loader.setPath( this.textureLoader.path );
 				texture = loader.load( fileName );
 
 			}