Przeglądaj źródła

FBXLoader: Clean up.

Mr.doob 4 lat temu
rodzic
commit
f2eb381d5c
1 zmienionych plików z 1 dodań i 2 usunięć
  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 );
 
 	}