This commit is contained in:
NathanSweet 2013-08-16 13:36:48 +02:00
parent 8e393a8cd5
commit 7f73966738

View File

@ -387,7 +387,7 @@ spine.ColorTimeline = function (frameCount) {
spine.ColorTimeline.prototype = {
slotIndex: 0,
getFrameCount: function () {
return this.frames.length / 2;
return this.frames.length / 5;
},
setFrame: function (frameIndex, time, r, g, b, a) {
frameIndex *= 5;