Second part of invisible base avatar option

This commit is contained in:
Melanie Thielker
2014-11-10 19:49:58 +01:00
parent 785a2cc729
commit 64deb6ae6f
3 changed files with 43 additions and 5 deletions

View File

@@ -5142,7 +5142,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
acceleration = Vector3.Zero;
if (sendTexture)
textureEntry = presence.Appearance.Texture.GetBytes();
{
if (presence.Invisible)
textureEntry = AvatarAppearance.Invisible.GetBytes();
else
textureEntry = presence.Appearance.Texture.GetBytes();
}
else
textureEntry = null;
}