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
Animation.cpp
Description: Binary data
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
