Hi Mark,

I don't know if this is optimal or not, but one thing you could do is use the 
NodeVisitor::getNodePath() method.  You can look through the path to find any 
switch nodes, and use the Switch::getChildValue(const Node*) method to see if 
the next node in the list is on or off.  This is of course assuming that this 
is what you meant by active.

Cheers,
Tom

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





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

Reply via email to