[osg-submissions] bug fix in osgUtil::UpdateVisitor
Paul Martz
pmartz at skew-matrix.com
Sun Jul 6 14:31:47 PDT 2008
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: osg-submissions-bounces at lists.openscenegraph.org
> [mailto:osg-submissions-bounces at lists.openscenegraph.org] On
> Behalf Of Gerben de Vries
> Sent: Sunday, July 06, 2008 2:35 PM
> To: osg-submissions at lists.openscenegraph.org
> 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.
>
More information about the osg-submissions
mailing list