Skip to content

Commit

Permalink
GLTFLoader: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed May 28, 2020
1 parent ba95905 commit ca9a1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/js/loaders/GLTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

}

Expand Down

0 comments on commit ca9a1ed

Please sign in to comment.