Mr.doob 4 лет назад
Родитель
Сommit
2a6a494d78
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/js/loaders/FBXLoader.js

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

@@ -638,7 +638,7 @@
 
 			const texture = textureMap.get( id );
 
-			if ( texture.image !== undefined ) {
+			if ( texture !== undefined && texture.image !== undefined ) {
 
 				return texture;
 

粤ICP备19079148号