summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-12-05 17:06:08 -0700
committerXiaohong Bao <bao@lindenlab.com>2012-12-05 17:06:08 -0700
commitaeef6cba025a37a01056c7061105ae0147420a6c (patch)
treed98eb9a28328dd3e996fc8dbcbd3fde992bd8cfb /indra
parente3b5d8b24ff7f79bd1aa422654fe50cf057ea00a (diff)
fix fo SH-3151: Some textures not in view load when avatar sits down.
Diffstat (limited to 'indra')
-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();
}
}