diff options
author | UbitUmarov | 2012-12-07 21:26:58 +0000 |
---|---|---|
committer | UbitUmarov | 2012-12-07 21:26:58 +0000 |
commit | 93bede4e6aa0838e14f39f5e641b028267d2683c (patch) | |
tree | 2b19bb7e14edb0529ad0a038db819690b1397a25 /OpenSim/Services/Interfaces | |
parent | create a new ode character also with the new information (diff) | |
download | opensim-SC-93bede4e6aa0838e14f39f5e641b028267d2683c.zip opensim-SC-93bede4e6aa0838e14f39f5e641b028267d2683c.tar.gz opensim-SC-93bede4e6aa0838e14f39f5e641b028267d2683c.tar.bz2 opensim-SC-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 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 4 |
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 | { |