1
0
Эх сурвалжийг харах

GLTFExporter: Add comment for empty strings name

Takahiro 8 жил өмнө
parent
commit
a8b2ad6436

+ 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 );

粤ICP备19079148号