Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Aug 23, 2005, 11:13:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: reverted the last steps, because they created a huge pack of seg-faults

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

Legend:

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

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

    r5110 r5111  
    8686  // deleting the Animation List AND all the elements of the List
    8787  tIterator<Animation>* animIt = this->animationList->getIterator();
    88   Animation* anim = animIt->firstElement();
     88  Animation* anim = animIt->nextElement();
    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->firstElement();
     111      Animation* anim = animIt->nextElement();
    112112      while( anim != NULL)
    113113        {
     
    147147{
    148148  tIterator<Animation>* animIt = this->animationList->getIterator();
    149   Animation* anim = animIt->firstElement();
     149  Animation* anim = animIt->nextElement();
    150150  while( anim != NULL)
    151151    {
     
    176176  // Per ANIMATION DEBUG
    177177  tIterator<Animation>* animIt = this->animationList->getIterator();
    178   Animation* anim = animIt->firstElement();
     178  Animation* anim = animIt->nextElement();
    179179  while( anim != NULL)
    180180    {
  • trunk/src/util/animation/t_animation.h

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