Hi Bastion, just a wild guess, but if you followed that last reply to your previous post, then maybe you are no longer setting lifetime to -1? Are you implementing that advice from previous thread ... ie where you reset default_particle_template? -Charles
On Tue, Sep 16, 2008 at 1:51 PM, b boltze <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I don't know whether it's considered rude to just appear and ask stupid > questions on this list. But at the moment I don't know where else to go, > so... well, I'll just ask my stupid question: > > I have setup a ParticleSystem. I store all the particles created for that > system in a separate place; actually an array of particle pointers. Also, all > particles have infinite lifetime, i.e. lifetime is set to 0. > > After some time, when I walk through my separate array, some of the particles > have vanished from the system: looping over all particles using > system->numParticles and system->getParticle, I can't find them anymore, and > when I try to access them using my pointer, I get a segfault. > > Unfortunately, I have no idea, where those particles might get deleted. > > Could someone please give me a hint? > > TIA > bastian > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- AsymptopiaSoftware | [EMAIL PROTECTED] www.asymptopia.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

