Hi,
I suggest do these in a update callback, or set the threading model to
SingleThreaded (but not efficiently), because it very dangerous add/remove
children in the main loop when multi-thread rendering. You are so lucy not
to crash here. :)
Wang Rui
> Thanks *Wang Rui*
> in PaintThreadProc I do
> {
>
> root->addchild();
> or root->removeChild();
> .....
> }
> YangXiao.
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org