diff options
Diffstat (limited to 'indra/llcharacter/llmotioncontroller.cpp')
| -rw-r--r-- | indra/llcharacter/llmotioncontroller.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp index 35e76f1d9d..3116403616 100644 --- a/indra/llcharacter/llmotioncontroller.cpp +++ b/indra/llcharacter/llmotioncontroller.cpp @@ -135,7 +135,7 @@ LLMotionController::LLMotionController()  	  mLastTime(0.0f),  	  mHasRunOnce(FALSE),  	  mPaused(FALSE), -	  mPauseTime(0.f), +	  mPausedFrame(0),  	  mTimeStep(0.f),  	  mTimeStepCount(0),  	  mLastInterp(0.f), @@ -814,6 +814,10 @@ void LLMotionController::updateLoadingMotions()  //-----------------------------------------------------------------------------  void LLMotionController::updateMotions(bool force_update)  { +    // SL-763: "Distant animated objects run at super fast speed" +    // The use_quantum optimization or possibly the associated code in setTimeStamp() +    // does not work as implemented. +    // Currently setting mTimeStep to nonzero is disabled elsewhere.  	BOOL use_quantum = (mTimeStep != 0.f);  	// Always update mPrevTimerElapsed @@ -1125,6 +1129,7 @@ void LLMotionController::pauseAllMotions()  	{  		//LL_INFOS() << "Pausing animations..." << LL_ENDL;  		mPaused = TRUE; +        mPausedFrame = LLFrameTimer::getFrameCount();  	}  } | 
