From 82572f0ed422f68838162ead62c7b3ab8ff32014 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Tue, 4 Oct 2022 13:17:04 +0300 Subject: SL-18296 FIXED 'Start' button is till toggled when desired FPS is reached --- indra/newview/llfloaterperformance.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/llfloaterperformance.cpp b/indra/newview/llfloaterperformance.cpp index e79e9d19b1..644e52c022 100644 --- a/indra/newview/llfloaterperformance.cpp +++ b/indra/newview/llfloaterperformance.cpp @@ -194,6 +194,12 @@ void LLFloaterPerformance::draw() populateObjectList(); } + auto button = getChild("AutoTuneFPS"); + if((bool)button->getToggleState() != LLPerfStats::tunables.userAutoTuneEnabled) + { + button->toggleState(); + } + mUpdateTimer->setTimerExpirySec(REFRESH_INTERVAL); } LLFloater::draw(); -- cgit v1.2.3