summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-05-04 16:49:10 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-05-04 16:49:10 -0600
commitbd8183f3249b760fb51c195579f5c9deef57e84f (patch)
tree3111323471191401f8b87e187c35a1d16c406df9 /indra/newview/llvoavatar.cpp
parent1fa673fa168821698f1f278190f19ad179c2667f (diff)
parent402c4cc9032b17df63c2a1a0395815eff9b9f906 (diff)
Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp1
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);
}