Hi Michael, I would prefer we solved the issue in a consistent way. I dont have time right now to think about it. Do you have an 'ideal' solution in mind ?
Cheers, Cedric On Tue, 2010-08-31 at 11:45 +0100, Michael Platings wrote: > Hi Robert & Cedric, > there's a bug in osgAnimation/Animation.cpp that causes animations to > play at the wrong speed. > If you add multiple channels to an animation, each with different > durations, then _duration and _originalDuration will become different > values, causing animation to be played too fast or slow. The attached > file fixes this, while (mostly) keeping the behaviour that if > setDuration() is called before addChannel() then _duration will keep > the value from setDuration(). This isn't perfect but I imagine will > suit most users of osgAnimation. > Cheers > -Michael > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org -- Provide OpenGL, WebGL and OpenSceneGraph services +33 659 598 614 Cedric Pinson mailto:[email protected] http://www.plopbyte.net
signature.asc
Description: This is a digitally signed message part
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
