Browse Source

FBXLoader: Switched texture check to old syntax.

Mr.doob 4 years ago
parent
commit
a49cd802c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/loaders/FBXLoader.js

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

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