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.org

Reply via email to