diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
5142 | acceleration = Vector3.Zero; | 5142 | acceleration = Vector3.Zero; |
5143 | 5143 | ||
5144 | if (sendTexture) | 5144 | if (sendTexture) |
5145 | textureEntry = presence.Appearance.Texture.GetBytes(); | 5145 | { |
5146 | if (presence.Invisible) | ||
5147 | textureEntry = AvatarAppearance.Invisible.GetBytes(); | ||
5148 | else | ||
5149 | textureEntry = presence.Appearance.Texture.GetBytes(); | ||
5150 | } | ||
5146 | else | 5151 | else |
5147 | textureEntry = null; | 5152 | textureEntry = null; |
5148 | } | 5153 | } |