diff options
author | Kitty Barnett <develop@catznip.com> | 2024-08-31 01:33:27 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2024-08-31 22:16:46 +0200 |
commit | c820bb2929a37fb222ce0d7368d699e81f5edc00 (patch) | |
tree | 30f4f17db0b39738ba23b68c3d20b7f5afa0fe4f /indra/newview/llstartup.cpp | |
parent | e92a06d68114c933599da12d75221504ebac77e0 (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.cpp | 3 |
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 |