Changeset 3527 in orxonox.OLD for orxonox/trunk/src/track_manager.cc
- Timestamp:
- Mar 13, 2005, 8:49:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.cc
r3522 r3527 46 46 this->curve = NULL; 47 47 this->children = NULL; 48 49 this->history = NULL; 50 48 51 this->condFunc = &TrackElement::random; 49 52 } … … 645 648 && this->currentTrackElem->children) 646 649 { 647 if (this->currentTrackElem->jumpTime >0)650 if (this->currentTrackElem->jumpTime != 0.0) 648 651 this->jumpTo(this->localTime + this->currentTrackElem->jumpTime); 652 // jump to the next TrackElement and also set the history of the new Element to the old one. 653 TrackElement* tmpHistoryElem = this->currentTrackElem; 649 654 this->currentTrackElem = this->currentTrackElem->children[this->choosePath(this->currentTrackElem)]; 655 this->currentTrackElem->history = tmpHistoryElem; 650 656 } 651 657 if (this->bindSlave)
Note: See TracChangeset
for help on using the changeset viewer.