Skip to content

Commit

Permalink
GLTFExporter: Fix handling of cacheKey.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Apr 17, 2019
1 parent aa3243f commit 5f73eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/exporters/GLTFExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ THREE.GLTFExporter.prototype = {

if ( cachedData.attributes.has( cacheKey ) ) {

primitive.indices = cachedData.attributes.get( geometry.index );
primitive.indices = cachedData.attributes.get( cacheKey );

} else {

Expand Down

0 comments on commit 5f73eba

Please sign in to comment.