diff --git a/src/osgGA/AnimationPathManipulator.cpp b/src/osgGA/AnimationPathManipulator.cpp index c77143383..33d4f9675 100644 --- a/src/osgGA/AnimationPathManipulator.cpp +++ b/src/osgGA/AnimationPathManipulator.cpp @@ -171,9 +171,12 @@ void AnimationPathManipulator::handleFrame( double time ) if (_printOutTimingInfo) { - double delta = (animTime-_animStartOfTimedPeriod); - if (delta>=_animationPath->getPeriod()) + double animDelta = (animTime-_animStartOfTimedPeriod); + if (animDelta>=_animationPath->getPeriod()) { + + double delta = time-_realStartOfTimedPeriod; + double frameRate = (double)_numOfFramesSinceStartOfTimedPeriod/delta; osg::notify(osg::NOTICE) <<"AnimatonPath completed in "<