summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-06-07 15:34:43 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-06-07 15:34:43 -0600
commita5a83089479c16de192da220795ab9f1ea153e05 (patch)
tree32957cc1826cc7cdf0800c03b441639461e2a69f /indra/newview/llvoavatarself.cpp
parentf5ae54f8c3fe954a08faa9b2de695c0326f2aeac (diff)
parent80b3884a6add8600d8d13d7b72018ec85337cd7e (diff)
more for EXT-7500: PARTIAL FIXED: Texture Jamming problems with http texture off.
Raise priorities of textures for self avatar to the highest.
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index eae92f8992..efc0795a00 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2036,7 +2036,11 @@ void LLVOAvatarSelf::addLocalTextureStats( ETextureIndex type, LLViewerFetchedTe
F32 desired_pixels;
desired_pixels = llmin(mPixelArea, (F32)getTexImageArea());
imagep->setBoostLevel(getAvatarBoostLevel());
+
+ imagep->resetTextureStats();
+ imagep->setResetMaxVirtualSizeFlag(false) ;
imagep->addTextureStats( desired_pixels / texel_area_ratio );
+ imagep->setAdditionalDecodePriority(1.0f) ;
imagep->forceUpdateBindStats() ;
if (imagep->getDiscardLevel() < 0)
{