From 5330838b159aecae8767ca85eac73b84a6dd4ad5 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 4 Nov 2008 18:29:37 +0000 Subject: * minor: appearance related doc and log message tweaking --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 1466778..e278870 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); -- cgit v1.1