瀏覽代碼

FBXLoader: Clean up.

Mr.doob 4 年之前
父節點
當前提交
f2eb381d5c
共有 1 個文件被更改,包括 1 次插入2 次删除
  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 );
 
 
 	}
 	}