From e0028bef6eb226ab1bc0cc18b8e5a3cada717687 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 1 Jun 2015 12:14:53 +0000 Subject: [PATCH] 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 --- src/osgParticle/ParticleProcessor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgParticle/ParticleProcessor.cpp b/src/osgParticle/ParticleProcessor.cpp index 00f56dd44..0f2a8622b 100644 --- a/src/osgParticle/ParticleProcessor.cpp +++ b/src/osgParticle/ParticleProcessor.cpp @@ -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) { }