Revert "SH-3941 SH-3954 FIX local appearance does not update properly"
This causes SUN-57
This reverts commit 707f3959f9.
This commit is contained in:
@@ -5064,7 +5064,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, mBakedTextureDatas[baked_index].mIsUsed);
|
||||
addLocalTextureStats((ETextureIndex)texture_index, imagep, texel_area_ratio, render_avatar, layer_baked[baked_index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3002,9 +3002,9 @@ void LLVOAvatarSelf::onCustomizeStart(bool disable_camera_switch)
|
||||
gAgentAvatarp->idleUpdateAppearanceAnimation();
|
||||
#endif
|
||||
|
||||
gAgentAvatarp->updateTextures(); // call updateTextureStats
|
||||
gAgentAvatarp->invalidateAll(); // mark all bakes as dirty, request updates
|
||||
gAgentAvatarp->updateMeshTextures(); // make sure correct textures are applied to the avatar mesh.
|
||||
gAgentAvatarp->updateTextures(); // call updateTextureStats
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user