Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2007, 3:36:20 PM (17 years ago)
Author:
bensch
Message:

removed track manager and reinjected the Track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/world_entity.cc

    r10581 r10588  
    185185{
    186186  // The problem we have is most likely here. The track should be constructed WITH the XML-Code
    187 /*  this->entityTrack = new Track(root);
     187  this->entityTrack = new Track(root);
    188188  this->setParent(this->entityTrack->getTrackNode());
    189   this->entityTrack->getTrackNode()->setParentMode(PNODE_ALL);*/
     189  this->entityTrack->getTrackNode()->setParentMode(PNODE_ALL);
    190190  /*LOAD_PARAM_START_CYCLE(root, element);
    191191  {
     
    200200void WorldEntity::pauseTrack(bool stop)
    201201{
    202 /*     if(this->entityTrack)
    203        this->entityTrack->pauseTrack(stop);*/
     202     if(this->entityTrack)
     203       this->entityTrack->pauseTrack(stop);
    204204}
    205205
Note: See TracChangeset for help on using the changeset viewer.