summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-10-31 16:46:28 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-10-31 16:46:28 +0200
commitf5b447bc4781d518fbe7841eea6cadd909b57a0a (patch)
treec05cfa849c0cbb5b87d0a4a6986210bc85e22f2f /indra/newview/llstartup.cpp
parent0aabcf9a856cf32f6f2c9df472a9b491059b19ce (diff)
SL-18495 Enable autofps for new users by default
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index e66fefdd1a..87fba5ec1b 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2254,6 +2254,10 @@ bool idle_startup()
if (STATE_CLEANUP == LLStartUp::getStartupState())
{
+ if (gAgent.isFirstLogin())
+ {
+ gSavedSettings.setBOOL("AutoTuneFPS", TRUE);
+ }
set_startup_status(1.0, "", "");
display_startup();