diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-10-04 13:17:04 +0300 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2022-10-04 13:17:04 +0300 | 
| commit | 82572f0ed422f68838162ead62c7b3ab8ff32014 (patch) | |
| tree | ff3808d5daae8d5d991b9575ae561968c806b6c6 /indra/newview | |
| parent | 56c87233329cf74c2c9111d8b6a1c262b4c29c1e (diff) | |
SL-18296 FIXED 'Start' button is till toggled when desired FPS is reached
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llfloaterperformance.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| 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<LLButton>("AutoTuneFPS"); +        if((bool)button->getToggleState() != LLPerfStats::tunables.userAutoTuneEnabled) +        { +            button->toggleState(); +        } +          mUpdateTimer->setTimerExpirySec(REFRESH_INTERVAL);      }      LLFloater::draw(); | 
