diff options
author | Melanie | 2011-12-19 21:30:57 +0000 |
---|---|---|
committer | Melanie | 2011-12-19 21:30:57 +0000 |
commit | efa4284391d6098172c6b57fe8fa5e1d881a31ab (patch) | |
tree | ad5ecc940b428f93e977f096218c85f1d1e146bc /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Stop sending the viewer its own AvatarAppearance packet. (diff) | |
download | opensim-SC_OLD-efa4284391d6098172c6b57fe8fa5e1d881a31ab.zip opensim-SC_OLD-efa4284391d6098172c6b57fe8fa5e1d881a31ab.tar.gz opensim-SC_OLD-efa4284391d6098172c6b57fe8fa5e1d881a31ab.tar.bz2 opensim-SC_OLD-efa4284391d6098172c6b57fe8fa5e1d881a31ab.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to '')
-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()); |