Animation::RM_Bounce endless loop

Issue #970 resolved
Anonymous created an issue

Automatic migration. Original reporter: "JordanWeber"

Details found at: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=3&t=6405&p=30097#p30097

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); animInst->start();

This should loop infinitely on project startup.

Otherwise, call: animInst->start(false); animInst->step(0.0f);

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