Changeset 3755 in orxonox.OLD for orxonox/trunk/src/simple_animation.cc
- Timestamp:
- Apr 8, 2005, 12:46:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.cc
r3752 r3755 128 128 anim->frames = new tList<KeyFrame>(); 129 129 anim->animMode = LOOP; 130 bRunning = false;130 anim->bRunning = false; 131 131 deltaT = 0.0; 132 132 this->animators->add(anim); … … 189 189 void SimpleAnimation::addKeyFrame(KeyFrame* frame) 190 190 { 191 printf("SimpleAnimation::addKeyFrame() - adding frame\n");192 191 if( !this->bDescriptive || this->workingAnimator == NULL) 193 192 { … … 197 196 frame->object = this->workingAnimator->object; 198 197 this->workingAnimator->frames->add(frame); 199 printf("SimpleAnimation::addKeyFrame() - addition completed\n");200 198 } 201 199 … … 322 320 while( anim->localTime > anim->currentFrame->time) 323 321 { 324 printf("SimpleAnimation::tick(...) - changing Frame\n");322 PRINTF(4)("SimpleAnimation::tick(...) - changing Frame\n"); 325 323 326 324 anim->localTime -= anim->currentFrame->time;
Note: See TracChangeset
for help on using the changeset viewer.