Fix avatar lod corruption from commit 5a1ce79 (#2247)

meow-7.2.2
Rye Mutt 2024-08-11 17:54:38 -04:00 committed by GitHub
parent a7fde9d79c
commit 501e92250e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1603,7 +1603,7 @@ void LLSpatialBridge::updateDistance(LLCamera& camera_in, bool force_update)
for (LLViewerObject* child : mDrawable->getVObj()->getChildren())
{
LLDrawable* drawable = child->mDrawable;
if (drawable && !drawable->isDead() && drawable->isAvatar())
if (drawable && !drawable->isDead() && !drawable->isAvatar())
{
drawable->updateDistance(camera, force_update);
}