summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-27 15:10:26 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-27 15:10:26 +0100
commitc025939e42d4c26054ff4a6eeded4b7849c74070 (patch)
tree08855a8ede4ec12e3a66aa797ad60b98ff608639 /indra/newview/lldrawpoolavatar.cpp
parent96bc66a55778d25fa36ca42092f0ce3ca57bb3ce (diff)
MAINT-7857 - shadow fix for animated objects.
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 b39b2cd6e5..30560eeb7b 100644
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -468,7 +468,7 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
LLVOAvatar *avatarp = (LLVOAvatar *)facep->getDrawable()->getVObj().get();
// AXON fix
- if (avatarp->isDead() || avatarp->mIsDummy || avatarp->mDrawable.isNull())
+ if (avatarp->isDead() || (avatarp->mIsDummy && !avatarp->isControlAvatar()) || avatarp->mDrawable.isNull())
{
return;
}