Commit 17d96503 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

SL-16021 FIXED impostors are creating full detailed shadows

parent ea57c064
...@@ -589,8 +589,7 @@ void LLDrawPoolAvatar::renderShadow(S32 pass) ...@@ -589,8 +589,7 @@ void LLDrawPoolAvatar::renderShadow(S32 pass)
} }
LLVOAvatar::AvatarOverallAppearance oa = avatarp->getOverallAppearance(); LLVOAvatar::AvatarOverallAppearance oa = avatarp->getOverallAppearance();
BOOL impostor = !LLPipeline::sImpostorRender && avatarp->isImpostor(); BOOL impostor = !LLPipeline::sImpostorRender && avatarp->isImpostor();
if (oa == LLVOAvatar::AOA_INVISIBLE || if (impostor || (oa == LLVOAvatar::AOA_INVISIBLE))
(impostor && oa == LLVOAvatar::AOA_JELLYDOLL))
{ {
// No shadows for jellydolled or invisible avs. // No shadows for jellydolled or invisible avs.
return; return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment