summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-01 16:11:09 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-10-01 16:11:09 +0100
commitaacb7eb25fd4caceaafb145ed550e14cebeef665 (patch)
treeb6fe18899ee218cddecfef91b231343c08ad2090 /indra/newview/llvoavatarself.cpp
parent2c81ace766546da0ea11efd4fa27cf1717eb5411 (diff)
SL-9773 - treat animated object attachments the same as other rigged attachments for purposes of visibility in mouselook.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index b3a2d7951c..dcaade55a6 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2701,6 +2701,12 @@ void LLVOAvatarSelf::onCustomizeEnd(bool disable_camera_switch)
}
}
+// virtual
+bool LLVOAvatarSelf::shouldRenderRigged() const
+{
+ return gAgent.needsRenderAvatar();
+}
+
// HACK: this will null out the avatar's local texture IDs before the TE message is sent
// to ensure local texture IDs are not sent to other clients in the area.
// this is a short-term solution. The long term solution will be to not set the texture