Re: [osg-users] osg::Switch and update callbacks for children

2008-02-16 Thread Robert Osfield
Hi Brad, The UpdateVisitor by default visits all children, you can change its TraversalMode to TRAVERSE_ACTIVE_CHILDREN and it will no longer visit the children of your switch. Robert. On Feb 15, 2008 11:59 PM, Brad Colbert [EMAIL PROTECTED] wrote: Hi, I may be misunderstanding what a switch

[osg-users] osg::Switch and update callbacks for children

2008-02-15 Thread Brad Colbert
Hi, I may be misunderstanding what a switch node does but I have two children of an osg::Switch, one has an update callback. I've called setAllChildrenOff() on the osg::Switch, but the update callback is still being called on the child. I thought it was supposed to not traverse the children?