summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index bde38029d0..11d64ab13a 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -3663,7 +3663,10 @@ F32 LLViewerObject::recursiveGetEstTrianglesMax() const
iter != mChildList.end(); iter++)
{
const LLViewerObject* child = *iter;
- est_tris += child->recursiveGetEstTrianglesMax();
+ if (!child->isAvatar())
+ {
+ est_tris += child->recursiveGetEstTrianglesMax();
+ }
}
return est_tris;
}