diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d53c562..9db7633 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4358,16 +4358,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4358 | 4358 | ||
4359 | public void SendAppearanceToAgentNF(ScenePresence avatar) | 4359 | public void SendAppearanceToAgentNF(ScenePresence avatar) |
4360 | { | 4360 | { |
4361 | if(avatar.UUID == UUID) | 4361 | avatar.ControllingClient.SendAppearance(UUID, Appearance.VisualParams, Appearance.Texture.GetBakesBytes(), Appearance.AvatarPreferencesHoverZ); |
4362 | { | ||
4363 | avatar.ControllingClient.SendAppearance( | ||
4364 | UUID, Appearance.VisualParams, Appearance.Texture.GetBytes()); | ||
4365 | } | ||
4366 | else | ||
4367 | { | ||
4368 | avatar.ControllingClient.SendAppearance( | ||
4369 | UUID, Appearance.VisualParams, Appearance.Texture.GetBakesBytes()); | ||
4370 | } | ||
4371 | } | 4362 | } |
4372 | 4363 | ||
4373 | public void SendAnimPackToAgent(ScenePresence p) | 4364 | public void SendAnimPackToAgent(ScenePresence p) |