Hey.

A crash can occuring when a CullVisitors is created, using to cull a
camera, destroyed and another CullVisitor is created to cull the same
graph. The render stage cache for the old one is not cleared and when
the new one happens to have the same address (which is actually not
that unlikely when you destroy and recreate a viewer because you want
to change some display settings) OSG crashes.

The attached patch fixes this by ensuring that the associated cache
entry is cleared when the CV is destroyed.

Cheers,

Felix

Attachment: osg-patch2.diff
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to