Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3858 in orxonox.OLD for orxonox/trunk/src/animation3d.cc


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

orxonox/trunk: moved the infinity-handling into animation.cc

File:
1 edited

Legend:

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

    r3857 r3858  
    126126          // checking, if we should still Play the animation
    127127          if (this->currentKeyFrame == this->keyFrameList->lastElement())
    128             {
    129               switch (this->postInfinity)
    130                 {
    131                 case ANIM_INF_CONSTANT:
    132                   this->localTime = 0.0;
    133                   this->bRunning = false;
    134                   break;
    135                 case ANIM_INF_REWIND:
    136                   this->replay();
    137                   break;
    138                 }
    139             }
     128            this->handleInfinity();
    140129          this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame);
    141130          this->setAnimFunc(this->currentKeyFrame->animFunc);     
Note: See TracChangeset for help on using the changeset viewer.