From 64deb6ae6fdf586bcd2e940d3cbf3ee54367dc83 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 10 Nov 2014 19:49:58 +0100 Subject: Second part of invisible base avatar option --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index f2f7cf9..b7a4b93 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -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; } -- cgit v1.1