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)
}
LLVOAvatar::AvatarOverallAppearance oa = avatarp->getOverallAppearance();
BOOL impostor = !LLPipeline::sImpostorRender && avatarp->isImpostor();
if (oa == LLVOAvatar::AOA_INVISIBLE ||
(impostor && oa == LLVOAvatar::AOA_JELLYDOLL))
if (impostor || (oa == LLVOAvatar::AOA_INVISIBLE))
{
// No shadows for jellydolled or invisible avs.
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