提交 c2e03ce8 编写于 作者: T Takahiro

Accept animation.target.node=0 in GLTF2Loader

上级 93e740b8
......@@ -2309,7 +2309,7 @@ THREE.GLTF2Loader = ( function () {
if ( sampler ) {
var target = channel.target;
var name = target.node || target.id; // NOTE: target.id is deprecated.
var name = target.node !== undefined ? target.node : target.id; // NOTE: target.id is deprecated.
var input = animation.parameters !== undefined ? animation.parameters[ sampler.input ] : sampler.input;
var output = animation.parameters !== undefined ? animation.parameters[ sampler.output ] : sampler.output;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册