summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-11 17:54:38 -0400
committerGitHub <noreply@github.com>2024-08-12 00:54:38 +0300
commit501e92250ef61abcbbdb26f2e6f882d864113ac4 (patch)
tree4bf7d22104e8152dfe9bbdea7fb1d26604a102f3 /indra/newview
parenta7fde9d79c517bfc6165756c1bc3eb16fa4d935c (diff)
Fix avatar lod corruption from commit 5a1ce79 (#2247)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lldrawable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 3b531c41d9..ae48db24bc 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -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);
}