Merge pull request #1785 from turol/threadsafe

Fix another thread-safety issue
pull/1794/head
Kim Kulling 2018-02-09 21:07:14 +01:00 committed by GitHub
commit 78ec30b320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ void OgreXmlSerializer::ReadAnimationTracks(Animation *dest)
void OgreXmlSerializer::ReadAnimationKeyFrames(Animation *anim, VertexAnimationTrack *dest)
{
static const aiVector3D zeroVec(0.f, 0.f, 0.f);
const aiVector3D zeroVec(0.f, 0.f, 0.f);
NextNode();
while(m_currentNodeName == nnKeyFrame)