aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 56c1401..8d326cf 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -69,6 +69,7 @@ namespace OpenSim.Region.Environment.Scenes
69 69
70 private readonly Vector3[] Dir_Vectors = new Vector3[6]; 70 private readonly Vector3[] Dir_Vectors = new Vector3[6];
71 private LLVector3 lastPhysPos = new LLVector3(); 71 private LLVector3 lastPhysPos = new LLVector3();
72 private int m_wearablesSerial = 1;
72 73
73 private enum Dir_ControlFlags 74 private enum Dir_ControlFlags
74 { 75 {
@@ -825,7 +826,7 @@ namespace OpenSim.Region.Environment.Scenes
825 /// <param name="client"></param> 826 /// <param name="client"></param>
826 public void SendOurAppearance(IClientAPI client) 827 public void SendOurAppearance(IClientAPI client)
827 { 828 {
828 client.SendWearables(m_wearables); 829 client.SendWearables(m_wearables, m_wearablesSerial++);
829 830
830 //this.SendFullUpdateToAllClients(); 831 //this.SendFullUpdateToAllClients();
831 //this.SendAppearanceToAllOtherAgents(); 832 //this.SendAppearanceToAllOtherAgents();
@@ -851,10 +852,10 @@ namespace OpenSim.Region.Environment.Scenes
851 { 852 {
852 m_scene.ForEachScenePresence(delegate(ScenePresence scenePresence) 853 m_scene.ForEachScenePresence(delegate(ScenePresence scenePresence)
853 { 854 {
854 if (scenePresence != this) 855 // if (scenePresence != this)
855 { 856 // {
856 SendAppearanceToOtherAgent(scenePresence); 857 SendAppearanceToOtherAgent(scenePresence);
857 } 858 // }
858 }); 859 });
859 } 860 }
860 861
@@ -1087,7 +1088,7 @@ namespace OpenSim.Region.Environment.Scenes
1087 public void SetWearable(int wearableId, AvatarWearable wearable) 1088 public void SetWearable(int wearableId, AvatarWearable wearable)
1088 { 1089 {
1089 m_wearables[wearableId] = wearable; 1090 m_wearables[wearableId] = wearable;
1090 SendOurAppearance(m_controllingClient); 1091 m_controllingClient.SendWearables(m_wearables, m_wearablesSerial++);
1091 } 1092 }
1092 } 1093 }
1093} 1094}