17.02.2012 16:11, Robert Osfield пишет:
Hi Mikhail,

If you want to remove elements from the scene graph but delay
destruction to be done in a background thread the way to do it take a
ref_ptr<>  to the subgraph you want to remove to prevent it from being
deleted, then remove the subgraph from the scene within the update
phase of the viewer frame, then pass this ref_ptr<>  to the background
thread.  Personally I wouldn't use co-opt the DatabasePager for doing
this - although it does supports this already, conceptually it doesn't
make for a clean application.


Yes, I'm doing this as you explained.
But you are not answer how to avoid crash in case described by me.

Mikhail.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to