Hi!
The Corona (Lua) implementation of AnimationState does not update the trackCount variable when adding animations to a new track using addAnimation. While the SetAnimation function calls setCurrent which updates the trackCount of the AnimationState, addAnimation does not do this. Therefore if animations are only ever added to a new track using addAnimation the trackCount is not updated and the update and apply functions never access the animations added to this new track.
Is this intended and all animations to a new track should be added with the setAnimation function, or should the addAnimation somehow also update the trackCount?
I tried adding the line:
self:trackCount = math.max(self:trackCount, trackIndex)
at the end of the addAnimation function and it seemed to work, but I am not sure if this has other unintended consequences I am not seeing.
Thanks!