summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llviewerobject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index b1a60197a2..dea76555ce 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -3282,6 +3282,12 @@ void LLViewerObject::boostTexturePriority(BOOL boost_children /* = TRUE */)
iter != mChildList.end(); iter++)
{
LLViewerObject* child = *iter;
+
+ if(child == gAgentAvatarp)
+ {
+ //no need to boost self avatar textures when sit.
+ continue;
+ }
child->boostTexturePriority();
}
}