[osg-users] Callback multiple

2008-04-07 Thread Vincent Bourdier
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.

Re: [osg-users] Callback multiple

2008-04-07 Thread Robert Osfield
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]

Re: [osg-users] Callback multiple

2008-04-07 Thread Vincent Bourdier
Hi Robert, Thanks a lot, it works very great with the ad of traverse(...) method !! Sorry I didn't found it early. Regards. Vincent. 2008/4/7, Robert Osfield [EMAIL PROTECTED]: Hi Vincent, Callbacks are responsible for traversing the subgraph so you need to call traverse on the node,