Changeset 3846 in orxonox.OLD for orxonox/trunk/src/track_manager.cc
- Timestamp:
- Apr 17, 2005, 1:32:39 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/track_manager.cc
r3845 r3846 394 394 // initializing the Animation for the Text. 395 395 this->textAnimation = new tAnim<Text>(this->trackText, &Text::setBlending); 396 this->textAnimation->addKeyFrame(1.0, 1.0, ANIM_LINEAR);397 this->textAnimation->addKeyFrame(0.0, 1.0);396 this->textAnimation->addKeyFrame(1.0, 3.0, ANIM_LINEAR); 397 this->textAnimation->addKeyFrame(0.0, .001); 398 398 this->textAnimation->setInfinity(ANIM_INF_CONSTANT); 399 399 } … … 941 941 { 942 942 this->trackText->setText(this->currentTrackElem->getName()); 943 this->textAnimation-> play();943 this->textAnimation->replay(); 944 944 } 945 945 }
Note: See TracChangeset
for help on using the changeset viewer.