aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-07 20:31:48 +0000
committerAdam Frisby2008-05-07 20:31:48 +0000
commita95f13a646e6c0ff07c765437011a29c3372f1b9 (patch)
tree7129f9dae3624287f7f8320d0cf16e90e46f0298 /OpenSim/Region/Environment/Scenes/AvatarAppearance.cs
parentenable velocity on our full update, as I think I know why (diff)
downloadopensim-SC-a95f13a646e6c0ff07c765437011a29c3372f1b9.zip
opensim-SC-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.gz
opensim-SC-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.bz2
opensim-SC-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.xz
* Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
* Thanks to Andrew (DeepThink) for working on this one.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/AvatarAppearance.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs b/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs
index 8f29507..c482d94 100644
--- a/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs
+++ b/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic;
29using System.Runtime.Serialization; 30using System.Runtime.Serialization;
30using System.Security.Permissions; 31using System.Security.Permissions;
31using libsecondlife; 32using libsecondlife;
@@ -102,15 +103,12 @@ namespace OpenSim.Region.Environment.Scenes
102 /// </summary> 103 /// </summary>
103 /// <param name="texture"></param> 104 /// <param name="texture"></param>
104 /// <param name="visualParam"></param> 105 /// <param name="visualParam"></param>
105 public void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam) 106 public void SetAppearance(byte[] texture, List<byte> visualParam)
106 { 107 {
107 LLObject.TextureEntry textureEnt = new LLObject.TextureEntry(texture, 0, texture.Length); 108 LLObject.TextureEntry textureEnt = new LLObject.TextureEntry(texture, 0, texture.Length);
108 m_textureEntry = textureEnt; 109 m_textureEntry = textureEnt;
109 110
110 for (int i = 0; i < visualParam.Length; i++) 111 m_visualParams = visualParam.ToArray();
111 {
112 m_visualParams[i] = visualParam[i].ParamValue;
113 }
114 112
115 // Teravus : Nifty AV Height Getting Maaaaagical formula. Oh how we love turning 0-255 into meters. 113 // Teravus : Nifty AV Height Getting Maaaaagical formula. Oh how we love turning 0-255 into meters.
116 // (float)m_visualParams[25] = Height 114 // (float)m_visualParams[25] = Height