Hi Robert,

While trying to add an update callback to a geometry node that was attached to 
a lod without using a geode I stumbled upon some bugs:

If you use the Drawable::setUpdateCallback method to add a 
osg::Drawable::UpdateCallback it will not fire because a group does not update 
it's NumChildrenRequiringUpdateTraversal variable when it has Drawable nodes 
that have callbacks.

If you use the Node::setUpdateCallback method to add a osg::Nodecallback 
instead it will not fire because the node visitor will stop visiting when 
NodeVisitor::apply(Drawable& drawable) is fired.

Cheers,
Pjotr

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





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

Reply via email to