浏览代码

GLTFExporter: Add comment for empty strings name

Takahiro 7 年之前
父节点
当前提交
a8b2ad6436
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/js/exporters/GLTFExporter.js

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

@@ -1086,6 +1086,7 @@ THREE.GLTFExporter.prototype = {
 
 			}
 
+			// We don't export empty strings name because it represents no-name in Three.js.
 			if ( object.name ) {
 
 				gltfNode.name = String( object.name );