Changeset 3556 in orxonox.OLD for orxonox/trunk/src/track_manager.cc
- Timestamp:
- Mar 15, 2005, 2:34:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.cc
r3546 r3556 217 217 this->maxTime = 0; 218 218 this->trackElemCount = 1; 219 this->bindSlave = TrackNode::getInstance();219 this->bindSlave = this->trackNode = new TrackNode(); 220 220 } 221 221 … … 701 701 void TrackManager::setBindSlave(PNode* bindSlave) 702 702 { 703 if (this->bindSlave == TrackNode::getInstance() || bindSlave == TrackNode::getInstance()) 704 this->bindSlave = bindSlave; 705 else 706 PRINTF(2)("Already a Bindslave set that is not the TrackNode itself. Not updating\n"); 707 } 708 703 this->bindSlave = bindSlave; 704 } 705 706 /** 707 \returns the main TrackNode 708 */ 709 PNode* TrackManager::getTrackNode(void) 710 { 711 return this->trackNode; 712 } 709 713 710 714 // DEBUG //
Note: See TracChangeset
for help on using the changeset viewer.