From 48f6d4774492053af4bf8fbe2aef74f64a727630 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 30 Oct 2010 12:30:03 -0700 Subject: Fixed: ToAvatarAppearance wasn't retrieving the AvatarHeight. --- OpenSim/Services/Interfaces/IAvatarService.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Services') 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 if (Data.ContainsKey("Serial")) appearance.Serial = Int32.Parse(Data["Serial"]); + if (Data.ContainsKey("AvatarHeight")) + appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]); + // Legacy Wearables if (Data.ContainsKey("BodyItem")) appearance.Wearables[AvatarWearable.BODY].Wear( -- cgit v1.1