diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 0eecf77..f5b37d3 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2554,7 +2554,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2554 | // again here... this comes after the cached appearance check because the avatars | 2554 | // again here... this comes after the cached appearance check because the avatars |
2555 | // appearance goes into the avatar update packet | 2555 | // appearance goes into the avatar update packet |
2556 | SendAvatarDataToAllAgents(); | 2556 | SendAvatarDataToAllAgents(); |
2557 | SendAppearanceToAgent(this); | 2557 | |
2558 | // Sending us our own appearance does not seem to be necessary, and the viewer warns in the log if you do | ||
2559 | // this. | ||
2560 | // SendAppearanceToAgent(this); | ||
2558 | 2561 | ||
2559 | // If we are using the the cached appearance then send it out to everyone | 2562 | // If we are using the the cached appearance then send it out to everyone |
2560 | if (cachedappearance) | 2563 | if (cachedappearance) |
@@ -2689,7 +2692,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2689 | public void SendAppearanceToAgent(ScenePresence avatar) | 2692 | public void SendAppearanceToAgent(ScenePresence avatar) |
2690 | { | 2693 | { |
2691 | // m_log.DebugFormat( | 2694 | // m_log.DebugFormat( |
2692 | // "[SCENE PRESENCE] Send appearance from {0} {1} to {2} {3}", Name, m_uuid, avatar.Name, avatar.UUID); | 2695 | // "[SCENE PRESENCE]: Sending appearance data from {0} {1} to {2} {3}", Name, m_uuid, avatar.Name, avatar.UUID); |
2693 | 2696 | ||
2694 | avatar.ControllingClient.SendAppearance( | 2697 | avatar.ControllingClient.SendAppearance( |
2695 | UUID, Appearance.VisualParams, Appearance.Texture.GetBytes()); | 2698 | UUID, Appearance.VisualParams, Appearance.Texture.GetBytes()); |