Hi Vincent, Callbacks are responsible for traversing the subgraph so you need to call traverse on the node, or use the NodeCallback::traverse method. See other examples of NodeCallbacks in the OSG to see this in action.
Robert. On Mon, Apr 7, 2008 at 3:18 PM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > Hi all, > > I have made some NodeCallback. > > for the moment, 2 NodeCallback are running at the same time... they use > the osg::Timer.. > > But when I've added the second one, the first seems to do nothing... > > Is there any recommendation to add some Callbacks on the same scenegraph ? > > Thanks. > > Regard. > Vincent. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org