Hi Robert, I have tried your latest SVN fix and it worked fine for me! Thank you very much.
Daniel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, January 09, 2008 2:42 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgViewer Bug+Fix report - traversal number ofUpdateVisitor is not incremented HI Daniel, I believe the best fix for this bug looks to be adding code to the begining of CompositeViewer::updateTraversal() method that sets the UpdateVisitor in the same way as the Viewer::updateTraversal() does. Could you do an svn update and let me know if this fixes the problem. Robert. On Jan 9, 2008 1:30 PM, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote: > Hello, > > I have encountered a bug at osgViewer::CompositeViewer in the current > SVN version: the traversal number of the UpdateVisitor is not > incremented automatically from frame to frame. > > The bug can be fixed by incrementing the traversal number of the > UpdateVisitor in the osgViewer::CompositeViewer::advance() or > updateTraversal() method. > > The problem I had was the fact that osgSim::DOFTransform supports > animation - but the animation requires that the traversal number of the > UpdateVisitor needs to be incremented between two frames. > > Another solution to fix this problem would also be to adjust the > osgSim::DOFTransform::traverse() method to use the FrameNumber of the > FrameStamp instead of the TraversalNumber. > > Kind regards, > Daniel Kallfass > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

