From b625f9cd9956d135760da0053e46cf01692779c5 Mon Sep 17 00:00:00 2001
From: "Brad Payne (Vir Linden)" <vir@lindenlab.com>
Date: Thu, 16 Nov 2017 20:33:11 +0000
Subject: SL-763 - disabling the use_quantum optimization in LLMotionController
 until it can be fixed.

---
 indra/llcharacter/llmotioncontroller.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'indra/llcharacter')

diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp
index 35e76f1d9d..bd23859bcb 100644
--- a/indra/llcharacter/llmotioncontroller.cpp
+++ b/indra/llcharacter/llmotioncontroller.cpp
@@ -814,7 +814,11 @@ void LLMotionController::updateLoadingMotions()
 //-----------------------------------------------------------------------------
 void LLMotionController::updateMotions(bool force_update)
 {
-	BOOL use_quantum = (mTimeStep != 0.f);
+    // SL-763: "Distant animated objects run at super fast speed"
+    // The use_quantum optimization does not work as implemented.
+    // Disabling until such time as someone can do a deeper dive.
+	//BOOL use_quantum = (mTimeStep != 0.f);
+	BOOL use_quantum = FALSE;
 
 	// Always update mPrevTimerElapsed
 	F32 cur_time = mTimer.getElapsedTimeF32();
-- 
cgit v1.2.3