소스 검색

FBXLoader: Switched texture check to old syntax.

Mr.doob 4 년 전
부모
커밋
a49cd802c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;