提交 5c80acfa 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11351 from takahirox/FixGLTF2Loader

Accept animation target.node=0 in GLTF2Loader
......@@ -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.
先完成此消息的编辑!
想要评论请 注册