Jelajahi Sumber

Get normal from cachedData in GLTFExporter

marcatec 7 tahun lalu
induk
melakukan
3446ee0a9a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -244,7 +244,7 @@ THREE.GLTFExporter.prototype = {
 
 			if ( cachedData.attributes.has( normal ) ) {
 
-				return cachedData.textures.get( normal );
+				return cachedData.attributes.get( normal );
 
 			}