diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-10-27 15:10:26 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-10-27 15:10:26 +0100 |
commit | c025939e42d4c26054ff4a6eeded4b7849c74070 (patch) | |
tree | 08855a8ede4ec12e3a66aa797ad60b98ff608639 /indra/newview/lldrawpoolavatar.cpp | |
parent | 96bc66a55778d25fa36ca42092f0ce3ca57bb3ce (diff) |
MAINT-7857 - shadow fix for animated objects.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 2 |
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; } |