Hi Tom, I've gone for setting the _frameNumber to 0, as this will force an update which should make sure that things are all set correctly.
Each time I pop my head into osgParticle I feel that the whole particle framework is clunky and could do with a thorough re-factor. A re-factor would break backwards compatibility though... still it's something that needs to be done at some point in the not too distant future. Robert. On Fri, May 22, 2009 at 7:49 PM, Jolley, Thomas P <[email protected]> wrote: > Hi Robert, > > I found a bug in ParticleSystemUpdater. The copy constructor didn't > initialize _frameNumber. I've included my fix although it may be better > to set _frameNumber to 0 instead of copying. > > ---- > Tom Jolley > > > <<ParticleSystemUpdater.tar>> > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
