Changeset 3820 in orxonox.OLD for orxonox/trunk/src/animation.cc
- Timestamp:
- Apr 14, 2005, 12:31:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation.cc
r3816 r3820 24 24 // initialize a beginning KeyFrame, that will be deleted afterwards 25 25 this->bHasKeys = false; 26 this->bHandled = true; 26 27 27 28 // setting default values … … 32 33 } 33 34 34 35 35 Anim::~Anim(void) 36 36 { 37 AnimationPlayer::getInstance()->removeAnimation(this);37 this->doNotHandle(); 38 38 } 39 40 void Anim::doNotHandle(void) 41 { 42 if (this->bHandled) 43 AnimationPlayer::getInstance()->removeAnimation(this); 44 } 45 39 46 40 47 void Anim::setInfinity(ANIM_INFINITY postInfinity)
Note: See TracChangeset
for help on using the changeset viewer.