Explorar o código

FBXLoader: Clean up.

Mr.doob %!s(int64=4) %!d(string=hai) anos
pai
achega
f2eb381d5c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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 );
 
 	}