diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-06-08 14:54:02 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-06-08 14:54:02 -0700 |
commit | 2cfc9f57bb22ab732cdc55b5e48ff9a05040d05a (patch) | |
tree | 4314aae216a0ab98b01831857ffa7d3b1c4b31e6 /indra/newview/llvoavatarself.cpp | |
parent | 56da8017d9622e092947b504813d8a40d21310a6 (diff) | |
parent | a5a83089479c16de192da220795ab9f1ea153e05 (diff) |
Merge
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r-- | indra/newview/llvoavatarself.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 6c1d81ddf3..a4d888cd72 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -2030,7 +2030,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) { |