Warning: Animation Bugfix that may have side effects

Hi guys,

In latest SVN I’ve just committed a fix to animations - you will no longer repeatedly get an “animation complete” callback on a listener every single frame once the animation finishes.

That’s the behaviour most people will expect (i.e. 1 callback saying the animation completed each time it completes!) but the change may break existing code if it deliberately or accidentally relied on this “feature”.

(For example a section of my code was counting how many times the animation had finished and stopping after X…but in fact the animation was only playing X-1 times and the next step was triggering 1 frame later than it should once the erroneous repeated callbacks started coming in)

Thanks,
Z

4 Likes