From Jannik Heller, "This patch adds a missing initialization of osgParticle::ParticleProcessor::_frameNumber in the copy constructor.

I noticed this because valgrind was complaining about use of uninitialized memory."


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14881 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-06-01 12:14:53 +00:00
parent 120bf699b2
commit e0028bef6e

View File

@@ -47,7 +47,8 @@ osgParticle::ParticleProcessor::ParticleProcessor(const ParticleProcessor& copy,
_lifeTime(copy._lifeTime),
_startTime(copy._startTime),
_currentTime(copy._currentTime),
_resetTime(copy._resetTime)
_resetTime(copy._resetTime),
_frameNumber(copy._frameNumber)
{
}