diff options
author | Diva Canto | 2010-10-30 12:30:03 -0700 |
---|---|---|
committer | Diva Canto | 2010-10-30 12:30:03 -0700 |
commit | 48f6d4774492053af4bf8fbe2aef74f64a727630 (patch) | |
tree | 913dc82ffae68db849aaa02c37b8464009f85f2d /OpenSim/Services/Interfaces/IAvatarService.cs | |
parent | Move physics actor creation to after SetHeight to try and prevent (diff) | |
download | opensim-SC_OLD-48f6d4774492053af4bf8fbe2aef74f64a727630.zip opensim-SC_OLD-48f6d4774492053af4bf8fbe2aef74f64a727630.tar.gz opensim-SC_OLD-48f6d4774492053af4bf8fbe2aef74f64a727630.tar.bz2 opensim-SC_OLD-48f6d4774492053af4bf8fbe2aef74f64a727630.tar.xz |
Fixed: ToAvatarAppearance wasn't retrieving the AvatarHeight.
Diffstat (limited to 'OpenSim/Services/Interfaces/IAvatarService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index 860a13b..d7af562 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -193,6 +193,9 @@ namespace OpenSim.Services.Interfaces | |||
193 | if (Data.ContainsKey("Serial")) | 193 | if (Data.ContainsKey("Serial")) |
194 | appearance.Serial = Int32.Parse(Data["Serial"]); | 194 | appearance.Serial = Int32.Parse(Data["Serial"]); |
195 | 195 | ||
196 | if (Data.ContainsKey("AvatarHeight")) | ||
197 | appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]); | ||
198 | |||
196 | // Legacy Wearables | 199 | // Legacy Wearables |
197 | if (Data.ContainsKey("BodyItem")) | 200 | if (Data.ContainsKey("BodyItem")) |
198 | appearance.Wearables[AvatarWearable.BODY].Wear( | 201 | appearance.Wearables[AvatarWearable.BODY].Wear( |