[osg-submissions] osgParticle::ParticleSystem / particle LOD fixed

Michael Ebner Michael.Ebner at gmx.at
Mon Feb 18 03:22:28 PST 2008


Hello,

the osgParticle LOD functionality is still marked experimental. I tested
it on Win2K and found an error where a std::vector iterator goes beyond
the end of the vector, which is not handled on Win32 STL implementation.
Therfore when using particle LOD the application crashed.

Attached is a fix that avoids the iterator problem described above.
Could someone check (and notify me please) if this patch is ok and if
this is the only reason why particle LOD is marked experimental?

thanks,
Michael.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ParticleSystem.cpp
Url: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080218/2de9c78d/attachment.asc 


More information about the osg-submissions mailing list