提交 f3f93232 编写于 作者: T Takahiro

Allow 0 and empty string as node name in GLTFExporter

上级 8a0e7223
......@@ -1086,7 +1086,7 @@ THREE.GLTFExporter.prototype = {
}
if ( object.name ) {
if ( object.name !== undefined ) {
gltfNode.name = String( object.name );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册