summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2024-08-31 01:33:27 +0200
committerKitty Barnett <develop@catznip.com>2024-08-31 22:16:46 +0200
commitc820bb2929a37fb222ce0d7368d699e81f5edc00 (patch)
tree30f4f17db0b39738ba23b68c3d20b7f5afa0fe4f /indra/newview/llstartup.cpp
parente92a06d68114c933599da12d75221504ebac77e0 (diff)
Minimal code needed to add RLVa with an on/off toggle
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index b32b80331a..3b027df460 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -205,6 +205,7 @@
#include "threadpool.h"
#include "llperfstats.h"
+#include "rlvhandler.h"
#if LL_WINDOWS
#include "lldxhardware.h"
@@ -876,6 +877,8 @@ bool idle_startup()
return false;
}
+ RlvHandler::setEnabled(gSavedSettings.get<bool>(Rlv::Settings::Main));
+
// reset the values that could have come in from a slurl
// DEV-42215: Make sure they're not empty -- gUserCredential
// might already have been set from gSavedSettings, and it's too bad