2
0
Mr.doob 5 жил өмнө
parent
commit
ca9a1edcfa

+ 2 - 2
examples/js/loaders/GLTFLoader.js

@@ -1973,9 +1973,9 @@ THREE.GLTFLoader = ( function () {
 
 				if ( transform ) {
 
-					var gltfReference = this.associations.get( texture );
+					var gltfReference = parser.associations.get( texture );
 					texture = parser.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ].extendTexture( texture, transform );
-					this.associations.set( texture, gltfReference );
+					parser.associations.set( texture, gltfReference );
 
 				}