Animation::RM_Bounce endless loop

Issue #970 resolved
Former user created an issue

Automatic migration. Original reporter: "JordanWeber"

Details found at:

When an animation of RM_Bounce is created, and start(). An infinite loop occurs because delta and newPosition = 0;

Temporary workaround posted on forum.

Reproducibility: always

Steps to reproduce: anim->setReplayMode(CEGUI::Animation::RM_Bounce);
animInst = CEGUI::AnimationManager::getSingleton().instantiateAnimation(anim);

This should loop infinitely on project startup.

Otherwise, call:

Comments (1)

  1. Martin Preisler

    The only way I found to make it loop endlessly is to have an animation definition with 0 duration.

    This has been fixed in 3892:4ce4d24b966c

    If you can reproduce it with an animation that has duration > 0, please reopen with the animation definition code.

  2. Log in to comment