Clear the old text keys when setting new animation sources

This commit is contained in:
Chris Robinson 2013-04-07 11:09:55 -07:00
parent 399394ff10
commit 80a1abd48a

View file

@ -63,6 +63,7 @@ void Animation::setAnimationSources(const std::vector<std::string> &names)
mAnimVelocity = 0.0f;
mAccumRoot = NULL;
mNonAccumRoot = NULL;
mTextKeys.clear();
mSkeletonSources.clear();
std::vector<std::string>::const_iterator nameiter;