Pārlūkot izejas kodu

GLTFExporter: Replace WeakMap with Map.

Takahiro 7 gadi atpakaļ
vecāks
revīzija
0a8ed3d83c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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()
 
 		};