aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs16
1 files changed, 11 insertions, 5 deletions
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
1929 m_scene.AddAgentTime(System.Environment.TickCount - m_perfMonMS); 1929 m_scene.AddAgentTime(System.Environment.TickCount - m_perfMonMS);
1930 } 1930 }
1931 1931
1932 /// <summary>
1933 /// Send appearance data to an agent that isn't this one.
1934 /// </summary>
1935 /// <param name="avatar"></param>
1932 public void SendAppearanceToOtherAgent(ScenePresence avatar) 1936 public void SendAppearanceToOtherAgent(ScenePresence avatar)
1933 { 1937 {
1934 avatar.ControllingClient.SendAppearance( 1938 avatar.ControllingClient.SendAppearance(
1935 m_appearance.Owner, 1939 m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.ToBytes());
1936 m_appearance.VisualParams,
1937 m_appearance.Texture.ToBytes()
1938 );
1939 } 1940 }
1940 1941
1942 /// <summary>
1943 /// Set appearance data (textureentry and slider settings) received from the client
1944 /// </summary>
1945 /// <param name="texture"></param>
1946 /// <param name="visualParam"></param>
1941 public void SetAppearance(byte[] texture, List<byte> visualParam) 1947 public void SetAppearance(byte[] texture, List<byte> visualParam)
1942 { 1948 {
1943 m_log.DebugFormat("[APPEARANCE]: Setting appearance for {0}", Name); 1949 m_log.DebugFormat("[APPEARANCE]: Receiving appearance for {0}", Name);
1944 1950
1945 m_appearance.SetAppearance(texture, visualParam); 1951 m_appearance.SetAppearance(texture, visualParam);
1946 SetHeight(m_appearance.AvatarHeight); 1952 SetHeight(m_appearance.AvatarHeight);