提交 598dcec1 编写于 作者: M Mr.doob

ColladaLoader: Using node.name when available. Thanks @C4RL05.

上级 3afa3bc3
......@@ -838,8 +838,9 @@ THREE.ColladaLoader = function () {
}
obj.name = node.id || "";
obj.name = node.name || node.id || "";
obj.matrix = node.matrix;
var props = node.matrix.decompose();
obj.position = props[ 0 ];
obj.quaternion = props[ 1 ];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册