Okay, I didn't know it was supposed to work that way (but I see now that I could have). Thanks a lot Paul and Robert!
2008/7/6 Paul Martz <[EMAIL PROTECTED]>: > I don't think your fix is necessary, as the subgraph will be traversed if > your Callback's operator() method calls traverse(). > > There are several examples that demonstrate this behavior. See the Quick > Start Guide section on Callbacks for more info. > www.osgbooks.com > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > +1 303 859 9466 > > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Gerben de Vries >> Sent: Sunday, July 06, 2008 2:35 PM >> To: [email protected] >> Subject: [osg-submissions] bug fix in osgUtil::UpdateVisitor >> >> If a node has a callback function, the update visitor will >> skip the entire subgraph. By removing an 'else' keyword, this >> incorrect behaviour is fixed. >> I fixed this bug because my program wasn't doing what it was >> supposed to (the subgraph callbacks weren't called), after >> the fix the program worked as it should. >> >> In revision 8541. >> > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
