SL-16021 FIXED impostors are creating full detailed shadows

master
Mnikolenko Productengine 2021-09-17 15:29:00 +03:00
parent 926012c68c
commit bbd5a9c62b
2 changed files with 3 additions and 3 deletions

View File

@ -270,6 +270,7 @@ Beq Janus
SL-13583
SL-14766
SL-14927
SL-16021
Beth Walcher
Bezilon Kasei
Biancaluce Robbiani

View File

@ -574,10 +574,9 @@ 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.
// No shadows for impostored (including jellydolled) or invisible avs.
return;
}