Streamline the animation path completion message

This commit is contained in:
Robert Osfield 2019-02-25 15:06:54 +00:00
parent 0614896c12
commit 08ea80c904

View File

@ -186,8 +186,7 @@ void AnimationPathManipulator::handleFrame( double time )
{
double delta = time-_realStartOfTimedPeriod;
double frameRate = (double)_numOfFramesSinceStartOfTimedPeriod/delta;
OSG_NOTICE <<"AnimatonPath completed in "<<delta<<" seconds, completing "<<_numOfFramesSinceStartOfTimedPeriod<<" frames,"<<std::endl;
OSG_NOTICE <<" average frame rate = "<<frameRate<<std::endl;
OSG_NOTICE <<"AnimatonPath completed in "<<delta<<" seconds, completing "<<_numOfFramesSinceStartOfTimedPeriod<<" frames, average frame rate = "<<frameRate<<std::endl;
}
// reset counters for next loop.