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

Reply via email to