mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 12:59:58 -04:00
Clear the old text keys when setting new animation sources
This commit is contained in:
parent
399394ff10
commit
80a1abd48a
@ -63,6 +63,7 @@ void Animation::setAnimationSources(const std::vector<std::string> &names)
|
|||||||
mAnimVelocity = 0.0f;
|
mAnimVelocity = 0.0f;
|
||||||
mAccumRoot = NULL;
|
mAccumRoot = NULL;
|
||||||
mNonAccumRoot = NULL;
|
mNonAccumRoot = NULL;
|
||||||
|
mTextKeys.clear();
|
||||||
mSkeletonSources.clear();
|
mSkeletonSources.clear();
|
||||||
|
|
||||||
std::vector<std::string>::const_iterator nameiter;
|
std::vector<std::string>::const_iterator nameiter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user