This used to work in an earlier Corona runtimes but is returning an error with the latest.
Attempting to:
Set animation on track 1 to an already looping animation on track0 with state:setAnimationByName( track, seq, loop, delay ). The animation is just a slot region swap e.g. a slot contains a head in different poses. The timeline contains one keyframe to select a new head region.
Expected:
Head changes on track 1 while body continues to loop.
Actual Results:
Get an error:
13:53:01.554 C:\CC-Build\giantEagle\spine-lua\Animation.lua:584: attempt to index global 'Timeline' (a nil value)
13:53:01.554 stack traceback:
13:53:01.554 C:\CC-Build\giantEagle\spine-lua\Animation.lua:584: in function 'getPropertyId'
13:53:01.554 C:\CC-Build\giantEagle\spine-lua\AnimationState.lua:742: in function 'setTimelinesFirst'
13:53:01.554 C:\CC-Build\giantEagle\spine-lua\AnimationState.lua:716: in function '_animationsChanged'
13:53:01.554 C:\CC-Build\giantEagle\spine-lua\AnimationState.lua:298: in function 'apply'
Extra info:
This only happens when swapping a slot region. If it is another kind of animation e.g. scale, move or rotate then it happens with no error.