Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3669 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc


Ignore:
Timestamp:
Mar 30, 2005, 12:06:36 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: now garbage collection is working correctlymake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/null_parent.cc

    r3644 r3669  
    8383  *this->absCoordinate = *this->relCoordinate;
    8484  *this->absDirection = parent->getAbsDir () * *this->relDirection;
    85  
    86   PNode* pn = this->children->enumerate ();
     85
     86  tIterator<PNode>* iterator = this->children->getIterator();
     87  //PNode* pn = this->children->enumerate ();
     88  PNode* pn = iterator->nextElement();
    8789  while( pn != NULL)
    8890    {
     
    9395        pn->parentDirChanged ();
    9496      pn->update (dt);
    95       pn = this->children->nextElement ();
     97      //pn = this->children->nextElement ();
     98      pn = iterator->nextElement();
    9699    }
    97100
Note: See TracChangeset for help on using the changeset viewer.