SL-14046 - jellydoll impostor extents should be based only on system avatar

meow-7.2.2
Brad Payne (Vir Linden) 2020-10-05 14:29:05 +01:00
parent 8e1dabbc99
commit dc733d2c80
1 changed files with 5 additions and 0 deletions

View File

@ -1322,6 +1322,11 @@ void LLVOAvatar::calculateSpatialExtents(LLVector4a& newMin, LLVector4a& newMax)
LL_RECORD_BLOCK_TIME(FTM_AVATAR_EXTENT_UPDATE);
S32 box_detail = gSavedSettings.getS32("AvatarBoundingBoxComplexity");
if (getOverallAppearance() != AOA_NORMAL)
{
// Jellydolls ignore attachments, etc, use only system avatar.
box_detail = 1;
}
// FIXME the update_min_max function used below assumes there is a
// known starting point, but in general there isn't. Ideally the