[osg-users] Could I update the structure of scene in a node visitor?

2009-09-18 Thread zhuliangxiong
Hi there, i wrote a class inherit from NodeVistor to remove all the scribe node from the scene. However, after the execution leave my apply function, the system crashed. I think that's because i changed the structure of the scene since i removed nodes from scene when visiting, and that may

Re: [osg-users] Could I update the structure of scene in a node visitor?

2009-09-18 Thread Chris 'Xenon' Hanson
zhuliangxi...@hotmail.com wrote: Hi there, i wrote a class inherit from NodeVistor to remove all the scribe node from the scene. However, after the execution leave my apply function, the system crashed. I think that's because i changed the structure of the scene since i removed nodes from