Streamline the animation path completion message

This commit is contained in:
Robert Osfield 2019-02-25 15:06:54 +00:00
parent 5770774e00
commit cc68d7f151

View File

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