From bf99887cbb8d69b5f29d18566ad082d2d0109e9c Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Tue, 27 Aug 2013 19:32:26 -0700
Subject: [PATCH] SH-4453 FIX: Interesting: SceneLoadingMonitorEnabled does not
 work until the camera turns set enabled flag before calling freeze scene

---
 indra/newview/llscenemonitor.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 57d58a9d4ea..ecffc679933 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -274,17 +274,17 @@ void LLSceneMonitor::capture()
 	if(mEnabled != enabled)
 	{
 		if(mEnabled)
-		{
+		{			
+			mEnabled = enabled;
 			unfreezeScene();
 			reset();
 			force_capture = true;
 		}
 		else
 		{
+			mEnabled = enabled;
 			freezeScene();
 		}
-
-		mEnabled = enabled;
 	}
 
 	if (mEnabled 
-- 
GitLab