فهرست منبع

GLTFExporter: Replace WeakMap with Map.

Takahiro 7 سال پیش
والد
کامیت
0a8ed3d83c
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      examples/js/exporters/GLTFExporter.js

+ 2 - 2
examples/js/exporters/GLTFExporter.js

@@ -102,8 +102,8 @@ THREE.GLTFExporter.prototype = {
 		var skins = [];
 		var cachedData = {
 
-			materials: new WeakMap(),
-			textures: new WeakMap()
+			materials: new Map(),
+			textures: new Map()
 
 		};