diff options
Diffstat (limited to 'OpenSim/Services/Interfaces/IAvatarService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index 892e0b4..bd66dad 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -211,8 +211,8 @@ namespace OpenSim.Services.Interfaces | |||
211 | float h = float.Parse(Data["AvatarHeight"]); | 211 | float h = float.Parse(Data["AvatarHeight"]); |
212 | if( h == 0f) | 212 | if( h == 0f) |
213 | h = 1.9f; | 213 | h = 1.9f; |
214 | 214 | appearance.SetSize(new Vector3(0.45f, 0.6f, h )); | |
215 | appearance.AvatarHeight = h; | 215 | // appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]); |
216 | } | 216 | } |
217 | 217 | ||
218 | // Legacy Wearables | 218 | // Legacy Wearables |
@@ -287,11 +287,10 @@ namespace OpenSim.Services.Interfaces | |||
287 | //byte[] binary = new byte[AvatarAppearance.VISUALPARAM_COUNT]; | 287 | //byte[] binary = new byte[AvatarAppearance.VISUALPARAM_COUNT]; |
288 | 288 | ||
289 | //for (int i = 0 ; i < vps.Length && i < binary.Length ; i++) | 289 | //for (int i = 0 ; i < vps.Length && i < binary.Length ; i++) |
290 | |||
291 | byte[] binary = new byte[vps.Length]; | 290 | byte[] binary = new byte[vps.Length]; |
292 | 291 | ||
293 | for (int i = 0; i < vps.Length; i++) | 292 | for (int i = 0; i < vps.Length; i++) |
294 | binary[i] = (byte)Convert.ToInt32(vps[i]); | 293 | binary[i] = (byte)Convert.ToInt32(vps[i]); |
295 | 294 | ||
296 | appearance.VisualParams = binary; | 295 | appearance.VisualParams = binary; |
297 | } | 296 | } |
@@ -357,6 +356,7 @@ namespace OpenSim.Services.Interfaces | |||
357 | appearance.Wearables[AvatarWearable.EYES].Wear( | 356 | appearance.Wearables[AvatarWearable.EYES].Wear( |
358 | AvatarWearable.DefaultWearables[ | 357 | AvatarWearable.DefaultWearables[ |
359 | AvatarWearable.EYES][0]); | 358 | AvatarWearable.EYES][0]); |
359 | |||
360 | } | 360 | } |
361 | catch | 361 | catch |
362 | { | 362 | { |