浏览代码

Merge pull request #14347 from marcatec/gltfexport-cached-normals

Get normal from cachedData in GLTFExporter
Mr.doob 7 年之前
父节点
当前提交
d4d5cd5cf1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );
 
 			}