[osg-users] [forum] Modifying the scene graph while traversing it with a visitor crashes.

2009-04-21 Thread Cristina
Hi,

After I loaded an flt file, I invoke a visitor which traverses the whole scene 
graph and finds all the nodes that have textures attached to them. For each 
node that have a texture attached, it loads a new texture and tries to insert 2 
extra nodes above the current node. This will crash the application when 
traverse(node) is called.
Is it possible to modify the scene graph while traversing it?

Regards,
Chris

Thank you.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10552#10552





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


Re: [osg-users] [forum] Modifying the scene graph while traversing it with a visitor crashes.

2009-04-21 Thread Cristina
Thanks, I thought so.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10554#10554





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