summaryrefslogtreecommitdiff
path: root/indra/newview/llperfstats.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-01-11 19:34:04 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-01-11 20:46:28 +0200
commit005b29b89f7a3cbe54d37b53c0061ee36c80d871 (patch)
treefcd293aeec127abfe43399605d91d44848c586ec /indra/newview/llperfstats.cpp
parent020bfa66ba9f1fee3e403595a1d6c95332bb16f7 (diff)
SL-18933 FIXED Maximum render time cycles if the Desired framerate is much lower than current framerate
Diffstat (limited to 'indra/newview/llperfstats.cpp')
-rw-r--r--indra/newview/llperfstats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llperfstats.cpp b/indra/newview/llperfstats.cpp
index 3bf88bb2a6..f3d433a622 100644
--- a/indra/newview/llperfstats.cpp
+++ b/indra/newview/llperfstats.cpp
@@ -446,7 +446,7 @@ namespace LLPerfStats
// turn off if we are not locked.
tunables.updateUserAutoTuneEnabled(false);
}
- if( LLPerfStats::tunedAvatars > 0 )
+ if(renderAvatarMaxART_ns != 0 && LLPerfStats::tunedAvatars > 0 )
{
// if we have more time to spare let's shift up little in the hope we'll restore an avatar.
renderAvatarMaxART_ns += LLPerfStats::ART_MIN_ADJUST_UP_NANOS;