Chobolabs / spine-cpp

A C++11 runtime for skeletal animation from Spine by Esoteric Software
Other
47 stars 11 forks source link

Animation may spam its listener with fake `Anim_Event` events. #3

Open Blttrr opened 8 years ago

Blttrr commented 8 years ago

If there is a delay between two animations, all evens of the first one will be fired each frame. lastTime becomes higher than time. Method EventTimeline::apply treats this case as if the first animation has passed the whole loop.

iboB commented 8 years ago

Doesn't this also happen in Esoteric's C API?