From 9644b25b9e80bd17cd44be0e30a69faf14c80876 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 25 May 2009 11:16:54 +0000 Subject: [PATCH] Added initializer of ParticleSystemUpdater::_frameNumber --- src/osgParticle/ParticleSystemUpdater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgParticle/ParticleSystemUpdater.cpp b/src/osgParticle/ParticleSystemUpdater.cpp index 41e8f2f60..0c373870a 100644 --- a/src/osgParticle/ParticleSystemUpdater.cpp +++ b/src/osgParticle/ParticleSystemUpdater.cpp @@ -12,7 +12,7 @@ osgParticle::ParticleSystemUpdater::ParticleSystemUpdater() } osgParticle::ParticleSystemUpdater::ParticleSystemUpdater(const ParticleSystemUpdater& copy, const osg::CopyOp& copyop) -: osg::Node(copy, copyop), _t0(copy._t0) +: osg::Node(copy, copyop), _t0(copy._t0), _frameNumber(0) { ParticleSystem_Vector::const_iterator i; for (i=copy._psv.begin(); i!=copy._psv.end(); ++i) {