Browse Source

FBXLoader: Clean up.

Mr.doob 4 năm trước cách đây
mục cha
commit
f2eb381d5c
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      examples/jsm/loaders/FBXLoader.js

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

@@ -700,8 +700,7 @@ class FBXTreeParser {
 
 		}
 
-		const texture = textureMap.get( id );
-		return texture;
+		return textureMap.get( id );
 
 	}