summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-13 01:32:54 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-13 18:49:00 +0300
commit6ea31793449031f5438f61b40f43d631d2f4766a (patch)
treee4a2050500e66b333a6c21fcdfcc716b6672bc76
parent87f496cf7c1c71510e4cb995661f8da5691746da (diff)
SL-20272 Animesh characters animate at 1 frame per second without clear reason
Animesh already subtracts complexity cost from the region. It's fine to slow it down when it's far away, on low fps or when there is a bunch of non-impostored avatars around. But slowing part of the region's experience down point blank and permanently is just not pretty.
-rw-r--r--indra/newview/llvoavatar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 4fd1d74644..10fe08b34b 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -3733,6 +3733,10 @@ bool LLVOAvatar::isVisuallyMuted()
{
muted = true;
}
+ else if (mIsControlAvatar)
+ {
+ muted = isTooSlow();
+ }
else
{
muted = isTooComplex() || isTooSlow();