diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 14667786f4..e278870ffc 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -1929,18 +1929,24 @@ namespace OpenSim.Region.Environment.Scenes m_scene.AddAgentTime(System.Environment.TickCount - m_perfMonMS); } + /// + /// Send appearance data to an agent that isn't this one. + /// + /// public void SendAppearanceToOtherAgent(ScenePresence avatar) { avatar.ControllingClient.SendAppearance( - m_appearance.Owner, - m_appearance.VisualParams, - m_appearance.Texture.ToBytes() - ); + m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.ToBytes()); } + /// + /// Set appearance data (textureentry and slider settings) received from the client + /// + /// + /// public void SetAppearance(byte[] texture, List visualParam) { - m_log.DebugFormat("[APPEARANCE]: Setting appearance for {0}", Name); + m_log.DebugFormat("[APPEARANCE]: Receiving appearance for {0}", Name); m_appearance.SetAppearance(texture, visualParam); SetHeight(m_appearance.AvatarHeight);