Przeglądaj źródła

Updated examples builds

Mr.doob 4 lat temu
rodzic
commit
2a6a494d78
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/js/loaders/FBXLoader.js

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

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