diff options
author | teravus | 2012-12-19 11:53:26 -0500 |
---|---|---|
committer | teravus | 2012-12-19 11:53:26 -0500 |
commit | c648325d7c761beb2ebe0edff3a70fdfbc81ffdb (patch) | |
tree | 831779e20f7c21037d2bfcb4dc1985412c364e6b /OpenSim/Services/Interfaces/IAvatarService.cs | |
parent | * This is a better way to do the last commit. (diff) | |
parent | Add the interfaces for the new Avination baked texture cache service (diff) | |
download | opensim-SC-c648325d7c761beb2ebe0edff3a70fdfbc81ffdb.zip opensim-SC-c648325d7c761beb2ebe0edff3a70fdfbc81ffdb.tar.gz opensim-SC-c648325d7c761beb2ebe0edff3a70fdfbc81ffdb.tar.bz2 opensim-SC-c648325d7c761beb2ebe0edff3a70fdfbc81ffdb.tar.xz |
Merge branch 'avination' of careminster:/var/git/careminster into teravuswork
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index 0caa521..c0130f1 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -201,7 +201,13 @@ 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 | { |
205 | float h = float.Parse(Data["AvatarHeight"]); | ||
206 | if( h == 0f) | ||
207 | h = 1.9f; | ||
208 | appearance.SetSize(new Vector3(0.45f, 0.6f, h )); | ||
209 | // appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]); | ||
210 | } | ||
205 | 211 | ||
206 | // Legacy Wearables | 212 | // Legacy Wearables |
207 | if (Data.ContainsKey("BodyItem")) | 213 | if (Data.ContainsKey("BodyItem")) |
@@ -339,6 +345,7 @@ namespace OpenSim.Services.Interfaces | |||
339 | appearance.Wearables[AvatarWearable.EYES].Wear( | 345 | appearance.Wearables[AvatarWearable.EYES].Wear( |
340 | AvatarWearable.DefaultWearables[ | 346 | AvatarWearable.DefaultWearables[ |
341 | AvatarWearable.EYES][0]); | 347 | AvatarWearable.EYES][0]); |
348 | |||
342 | } | 349 | } |
343 | catch | 350 | catch |
344 | { | 351 | { |