Ogre: Avoid creating function-scoped static constants

They're causing false positive race condition messages from Helgrind
pull/1785/head
Turo Lamminen 2018-02-09 15:40:28 +02:00
parent 73621c46cb
commit ebdad4f883
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) 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(); NextNode();
while(m_currentNodeName == nnKeyFrame) while(m_currentNodeName == nnKeyFrame)