Fixed bad merge in llvoavatar.cpp
parent
236663e9bf
commit
ec85208c92
|
|
@ -4725,7 +4725,7 @@ void LLVOAvatar::updateTextures()
|
|||
const EBakedTextureIndex baked_index = texture_dict->mBakedTextureIndex;
|
||||
if (texture_dict->mIsLocalTexture)
|
||||
{
|
||||
addLocalTextureStats((ETextureIndex)texture_index, imagep, texel_area_ratio, render_avatar, layer_baked[baked_index]);
|
||||
addLocalTextureStats((ETextureIndex)texture_index, imagep, texel_area_ratio, render_avatar, mBakedTextureDatas[baked_index].mIsUsed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4832,7 +4832,6 @@ void LLVOAvatar::addBakedTextureStats( LLViewerFetchedTexture* imagep, F32 pixel
|
|||
//the texture pipeline will stop fetching this texture.
|
||||
|
||||
imagep->resetTextureStats();
|
||||
// <FS:TM> This we never want to do for OpenSim. Keep as true when LL changes this.
|
||||
imagep->setMaxVirtualSizeResetInterval(MAX_TEXTURE_VIRTURE_SIZE_RESET_INTERVAL);
|
||||
imagep->resetMaxVirtualSizeResetCounter() ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue