summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.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/llvoavatar.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/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 1f72aed5b4..93885a4472 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7464,6 +7464,12 @@ void LLVOAvatar::onGlobalColorChanged(const LLTexGlobalColor* global_color)
updateMeshTextures();
}
+// virtual
+bool LLVOAvatar::shouldRenderRigged() const
+{
+ return true;
+}
+
// FIXME: We have an mVisible member, set in updateVisibility(), but this
// function doesn't return it! isVisible() and mVisible are used
// different places for different purposes. mVisible seems to be more