On Wed, Apr 22, 2009 at 8:51 AM, Vincent Bourdier
<[email protected]> wrote:
> So the question is : it is ok to modify geometry/graph in the Handler even ?

It all depends upon what modifications you are making.  If you are
modify content of parents from within a callback/handler then you'll
be invalidating iterators that are held by the function that called
your callback, so this is very definitely something you should avoid
doing.

Beyond that there is much I can add, it's your code, there are many
things you can do wrong and frankly is pointless any of us attempting
guessing what these many things might be.  It's you code, you have it
front of you, you have a debugger and capability to step through the
code in the debugger, go do it.

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

Reply via email to