Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3872 in orxonox.OLD for orxonox/trunk/src/util/animation


Ignore:
Timestamp:
Apr 18, 2005, 3:54:35 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: animation fix, the AnimationMode was not reset to the start-value when rewinding

Location:
orxonox/trunk/src/util/animation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/animation/animation3d.cc

    r3868 r3872  
    7272  this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement());
    7373  this->localTime = 0.0;
     74  this->setAnimFunc(this->currentKeyFrame->animFunc);
    7475}
    7576
  • orxonox/trunk/src/util/animation/t_animation.h

    r3871 r3872  
    127127  this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement());
    128128  this->localTime = 0.0;
     129  this->setAnimFunc(this->currentKeyFrame->animFunc);
    129130}
    130131
     
    308309float tAnimation<T>::exp(float timePassed) const
    309310{
     311  return this->linear(timePassed);
     312
    310313}
    311314
Note: See TracChangeset for help on using the changeset viewer.