diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-05-04 12:49:57 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-05-04 12:49:57 -0600 |
commit | 32c6f92fca59698d95c067bd258b13d4c60eada3 (patch) | |
tree | dd34ca7852801bb5c77e313b36ec813553ac92ea /indra/newview/llvoavatar.cpp | |
parent | 9cc9ceb250b8505448581d0345c7de42cf883632 (diff) |
EXT-7194: FIXED: It takes long time to finish downloading baked textures.
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 3f021d1f84..69d2ef7dd7 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -4095,6 +4095,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); } |