Changeset 4502 in orxonox.OLD for orxonox/trunk/src/util/track
- Timestamp:
- Jun 3, 2005, 12:15:55 PM (19 years ago)
- Location:
- orxonox/trunk/src/util/track
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/track/track_manager.cc
r4501 r4502 657 657 void TrackManager::setSavePointS(const char* nextElementName) 658 658 { 659 this->firstTrackElem->findByID(this->setSavePoint(NULL))->setName(nextElementName); 659 this->setSavePoint(NULL); 660 if (strcmp(nextElementName, "")) 661 this->firstTrackElem->findByID(this->trackElemCount)->setName(nextElementName); 660 662 } 661 663 … … 668 670 If the HotPoint was defined as a fork the Point will \b not be set into a savePoint. 669 671 */ 670 intTrackManager::setSavePoint(TrackElement* trackElem)672 void TrackManager::setSavePoint(TrackElement* trackElem) 671 673 { 672 674 if (!trackElem) … … 677 679 { 678 680 PRINTF(2)("%d is already finished \n", trackElem->ID); 679 return trackElem->getChild(0)->ID;681 return; 680 682 } 681 683 trackElem->isSavePoint = true; -
orxonox/trunk/src/util/track/track_manager.h
r4501 r4502 157 157 int addHotPoint(Vector newPoint, TrackElement* trackElem = NULL); 158 158 void setSavePointS(const char* nextElementName); 159 intsetSavePoint(TrackElement* trackElem = NULL);159 void setSavePoint(TrackElement* trackElem = NULL); 160 160 void fork(unsigned int count, ...); 161 161 void forkS(unsigned int count, ...);
Note: See TracChangeset
for help on using the changeset viewer.