aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 97415f4..09b53d2 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2573,7 +2573,8 @@ namespace OpenSim.Region.Framework.Scenes
2573 m_appearance.SetAppearance(textureEntry, visualParams); 2573 m_appearance.SetAppearance(textureEntry, visualParams);
2574 if (m_appearance.AvatarHeight > 0) 2574 if (m_appearance.AvatarHeight > 0)
2575 SetHeight(m_appearance.AvatarHeight); 2575 SetHeight(m_appearance.AvatarHeight);
2576 m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); 2576 AvatarData adata = new AvatarData(m_appearance);
2577 m_scene.AvatarService.SetAvatar(m_controllingClient.AgentId, adata);
2577 2578
2578 SendAppearanceToAllOtherAgents(); 2579 SendAppearanceToAllOtherAgents();
2579 if (!m_startAnimationSet) 2580 if (!m_startAnimationSet)
@@ -2593,7 +2594,8 @@ namespace OpenSim.Region.Framework.Scenes
2593 public void SetWearable(int wearableId, AvatarWearable wearable) 2594 public void SetWearable(int wearableId, AvatarWearable wearable)
2594 { 2595 {
2595 m_appearance.SetWearable(wearableId, wearable); 2596 m_appearance.SetWearable(wearableId, wearable);
2596 m_scene.CommsManager.AvatarService.UpdateUserAppearance(m_controllingClient.AgentId, m_appearance); 2597 AvatarData adata = new AvatarData(m_appearance);
2598 m_scene.AvatarService.SetAvatar(m_controllingClient.AgentId, adata);
2597 m_controllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++); 2599 m_controllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++);
2598 } 2600 }
2599 2601