提交 67df6550 编写于 作者: T takahiro

Fix KeyframeTrack.trim() wrong stride calculation bug

上级 bf64a817
......@@ -207,10 +207,11 @@ THREE.KeyframeTrack.prototype = {
var from = firstKeysToRemove;
var to = nKeys - lastKeysToRemove - firstKeysToRemove;
var stride = this.getValueSize();
this.times = THREE.AnimationUtils.arraySlice( times, from, to );
var values = this.values;
var stride = this.getValueSize();
this.values = THREE.AnimationUtils.arraySlice( values, from * stride, to * stride );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册