Hi all,

I am experiencing a segfault that I cannot get rid of, and I'm looking for ideas:

I am moving a node (osg::PositionAttitudeTransform) during it's callback... ie, I am detaching it from it's current parent with parent->removeNode(PAT*) and re-attaching it with newParent->addChild(PAT*).

The parent nodes are similar PositionAttitudeTransform's with the same type of callback, and could have been visited already by the update traversal, or not.

Can I do this?

I imagine that the segfault is because the nodePath of the current traversal becomes inaccurate, or perhaps there is some memory management that I'm messing up.

Is there a way to tell OSG to restart the update traversal if I re-arrange the graph? ...or does anyone have some other idea?

Thanks,
Mike Wozniewski
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to