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:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user