summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-10 15:59:22 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-10 15:59:22 +0100
commit9ad912b601425bef843bfc45e9d8075623c37584 (patch)
tree99ce79c0ebfd42366df4936bde2cceff9d5ba4dc /indra/newview/llvoavatar.cpp
parentae041779ccc83b1acc8a01528918d52aab9f565f (diff)
SL-9849 - animated object attachments get isImpostor() state from av they're attached to
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 34e82d878a..8005be6776 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -9721,6 +9721,7 @@ void LLVOAvatar::updateImpostors()
LLCharacter::sAllowInstancesChange = TRUE;
}
+// virtual
BOOL LLVOAvatar::isImpostor()
{
return sUseImpostors && (isVisuallyMuted() || (mUpdatePeriod >= IMPOSTOR_PERIOD)) ? TRUE : FALSE;