From f5f576b31efe0cd868e389ebf1ab84c1d1b49bc4 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sat, 11 Apr 2020 20:58:32 -0400
Subject: [PATCH] static const PrecachingDelay to speed up init a small amount

---
 indra/newview/llstartup.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index a38679f3121..df11d5c9860 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -327,7 +327,7 @@ bool idle_startup()
 		return false; // No world yet
 	}
 
-	const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay");
+	static const F32 PRECACHING_DELAY = gSavedSettings.getF32("PrecachingDelay");
 	static LLTimer timeout;
 
 	static LLTimer login_time;
-- 
GitLab