diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2012-12-05 17:06:08 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2012-12-05 17:06:08 -0700 |
commit | aeef6cba025a37a01056c7061105ae0147420a6c (patch) | |
tree | d98eb9a28328dd3e996fc8dbcbd3fde992bd8cfb /indra | |
parent | e3b5d8b24ff7f79bd1aa422654fe50cf057ea00a (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.cpp | 6 |
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(); } } |