Disable updateTextures entirely for non-visible avatars (culled ones still need updating tho.)
This commit is contained in:
@@ -5132,7 +5132,12 @@ void LLVOAvatar::updateTextures()
|
||||
}
|
||||
else
|
||||
{
|
||||
render_avatar = isVisible() && !mCulled;
|
||||
if(!isVisible())
|
||||
{
|
||||
return ;//do not update for invisible avatar.
|
||||
}
|
||||
|
||||
render_avatar = !mCulled; //visible and not culled.
|
||||
}
|
||||
|
||||
std::vector<bool> layer_baked;
|
||||
|
||||
Reference in New Issue
Block a user