aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-04 18:29:37 +0000
committerJustin Clarke Casey2008-11-04 18:29:37 +0000
commit5330838b159aecae8767ca85eac73b84a6dd4ad5 (patch)
tree0bac465268dfd64834ce060d10be0a78273c2102 /OpenSim/Region/Environment
parentAdded a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows th... (diff)
downloadopensim-SC_OLD-5330838b159aecae8767ca85eac73b84a6dd4ad5.zip
opensim-SC_OLD-5330838b159aecae8767ca85eac73b84a6dd4ad5.tar.gz
opensim-SC_OLD-5330838b159aecae8767ca85eac73b84a6dd4ad5.tar.bz2
opensim-SC_OLD-5330838b159aecae8767ca85eac73b84a6dd4ad5.tar.xz
* minor: appearance related doc and log message tweaking
Diffstat (limited to 'OpenSim/Region/Environment')
-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);