From ca9a1edcfa3714e025a87ae7b4465ee54a60d22e Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Thu, 28 May 2020 08:32:36 -0700 Subject: [PATCH] GLTFLoader: Clean up. --- examples/js/loaders/GLTFLoader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/js/loaders/GLTFLoader.js b/examples/js/loaders/GLTFLoader.js index 644601061fff53..e2cdf344a40e6f 100644 --- a/examples/js/loaders/GLTFLoader.js +++ b/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 ); }