Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 24, 2005, 1:30:13 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: reimplemented the list functions, as i did before in revision 5110.
This time, i looked out for the bugs, and i think i found one

@patrick: i know, that you do not want to code at the moment… :/ → see mail

Location:
trunk/src/util/animation
Files:
3 edited

Legend:

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

    r5111 r5115  
    5858  // delete all the KeyFrames
    5959  tIterator<KeyFrame3D>* itKF = keyFrameList->getIterator();
    60   KeyFrame3D*  enumKF = itKF->nextElement();
     60  KeyFrame3D*  enumKF = itKF->firstElement();
    6161  while (enumKF)
    6262    {
  • trunk/src/util/animation/animation_player.cc

    r5111 r5115  
    8686  // deleting the Animation List AND all the elements of the List
    8787  tIterator<Animation>* animIt = this->animationList->getIterator();
    88   Animation* anim = animIt->nextElement();
     88  Animation* anim = animIt->firstElement();
    8989  while( anim != NULL)
    9090    {
     
    109109      // iterate through all the animations and tick them.
    110110      tIterator<Animation>* animIt = this->animationList->getIterator();
    111       Animation* anim = animIt->nextElement();
     111      Animation* anim = animIt->firstElement();
    112112      while( anim != NULL)
    113113        {
     
    147147{
    148148  tIterator<Animation>* animIt = this->animationList->getIterator();
    149   Animation* anim = animIt->nextElement();
     149  Animation* anim = animIt->firstElement();
    150150  while( anim != NULL)
    151151    {
     
    176176  // Per ANIMATION DEBUG
    177177  tIterator<Animation>* animIt = this->animationList->getIterator();
    178   Animation* anim = animIt->nextElement();
     178  Animation* anim = animIt->firstElement();
    179179  while( anim != NULL)
    180180    {
  • trunk/src/util/animation/t_animation.h

    r5111 r5115  
    108108  // delete all the KeyFrames
    109109  tIterator<KeyFrameF>* itKF = keyFrameList->getIterator();
    110   KeyFrameF*  enumKF = itKF->nextElement();
     110  KeyFrameF*  enumKF = itKF->firstElement();
    111111  while (enumKF)
    112112    {
Note: See TracChangeset for help on using the changeset viewer.