Ogre: Avoid creating function-scoped static constants
They're causing false positive race condition messages from Helgrindpull/1785/head
parent
73621c46cb
commit
ebdad4f883
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue