aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IAvatarService.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-12-07 21:26:58 +0000
committerUbitUmarov2012-12-07 21:26:58 +0000
commit93bede4e6aa0838e14f39f5e641b028267d2683c (patch)
tree2b19bb7e14edb0529ad0a038db819690b1397a25 /OpenSim/Services/Interfaces/IAvatarService.cs
parent create a new ode character also with the new information (diff)
downloadopensim-SC_OLD-93bede4e6aa0838e14f39f5e641b028267d2683c.zip
opensim-SC_OLD-93bede4e6aa0838e14f39f5e641b028267d2683c.tar.gz
opensim-SC_OLD-93bede4e6aa0838e14f39f5e641b028267d2683c.tar.bz2
opensim-SC_OLD-93bede4e6aa0838e14f39f5e641b028267d2683c.tar.xz
revert the use of avatar skeleton and use avatar size provided by viewers,
since at least for now seems good enought
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IAvatarService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs
index 0caa521..260e1c6 100644
--- a/OpenSim/Services/Interfaces/IAvatarService.cs
+++ b/OpenSim/Services/Interfaces/IAvatarService.cs
@@ -201,7 +201,8 @@ namespace OpenSim.Services.Interfaces
201 appearance.Serial = Int32.Parse(Data["Serial"]); 201 appearance.Serial = Int32.Parse(Data["Serial"]);
202 202
203 if (Data.ContainsKey("AvatarHeight")) 203 if (Data.ContainsKey("AvatarHeight"))
204 appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]); 204 appearance.SetSize(new Vector3(0.45f, 0.6f, float.Parse(Data["AvatarHeight"])));
205// appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]);
205 206
206 // Legacy Wearables 207 // Legacy Wearables
207 if (Data.ContainsKey("BodyItem")) 208 if (Data.ContainsKey("BodyItem"))
@@ -339,6 +340,7 @@ namespace OpenSim.Services.Interfaces
339 appearance.Wearables[AvatarWearable.EYES].Wear( 340 appearance.Wearables[AvatarWearable.EYES].Wear(
340 AvatarWearable.DefaultWearables[ 341 AvatarWearable.DefaultWearables[
341 AvatarWearable.EYES][0]); 342 AvatarWearable.EYES][0]);
343
342 } 344 }
343 catch 345 catch
344 { 346 {