summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-12-04 11:15:47 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-12-04 11:15:47 +0000
commit4b439ff968a934c127cd685b54bcc206e467a948 (patch)
treee23e4f9044d844d02c59b4b3d5016c130e0000ca /indra/newview/lldrawpoolavatar.cpp
parent0d2d6b42baa4fc6d253c5499324ffe5572676d87 (diff)
SL-704 - made avatar hierarchy more consistent by adding lluiavatar for viewer-local avs used in upload previews
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r--indra/newview/lldrawpoolavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 0d8e302123..fe830419e0 100644
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -467,7 +467,7 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
}
LLVOAvatar *avatarp = (LLVOAvatar *)facep->getDrawable()->getVObj().get();
- if (avatarp->isDead() || (avatarp->mIsDummy && !avatarp->isControlAvatar()) || avatarp->mDrawable.isNull())
+ if (avatarp->isDead() || avatarp->isUIAvatar() || avatarp->mDrawable.isNull())
{
return;
}