Browse Source

GLTFExporter: Add comment for empty strings name

Takahiro 7 years ago
parent
commit
a8b2ad6436
1 changed files with 1 additions and 0 deletions
  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 );