Skip to content

Commit d4d5cd5

Browse files
authored
Merge pull request #14347 from marcatec/gltfexport-cached-normals
Get normal from cachedData in GLTFExporter
2 parents a75dbac + 3446ee0 commit d4d5cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/exporters/GLTFExporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ THREE.GLTFExporter.prototype = {
244244

245245
if ( cachedData.attributes.has( normal ) ) {
246246

247-
return cachedData.textures.get( normal );
247+
return cachedData.attributes.get( normal );
248248

249249
}
250250

0 commit comments

Comments
 (0)