diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-05-04 16:49:10 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-05-04 16:49:10 -0600 |
commit | bd8183f3249b760fb51c195579f5c9deef57e84f (patch) | |
tree | 3111323471191401f8b87e187c35a1d16c406df9 /indra/newview/llvoavatar.cpp | |
parent | 1fa673fa168821698f1f278190f19ad179c2667f (diff) | |
parent | 402c4cc9032b17df63c2a1a0395815eff9b9f906 (diff) |
Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 674e4b6d82..4ed2147d3b 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -4093,6 +4093,7 @@ void LLVOAvatar::addBakedTextureStats( LLViewerFetchedTexture* imagep, F32 pixel { mMaxPixelArea = llmax(pixel_area, mMaxPixelArea); mMinPixelArea = llmin(pixel_area, mMinPixelArea); + imagep->resetTextureStats(); imagep->addTextureStats(pixel_area / texel_area_ratio); imagep->setBoostLevel(boost_level); } |