Fixed: ToAvatarAppearance wasn't retrieving the AvatarHeight.

viewer-2-initial-appearance
Diva Canto 2010-10-30 12:30:03 -07:00
parent 623cee1ffc
commit 48f6d47744
1 changed files with 3 additions and 0 deletions

View File

@ -193,6 +193,9 @@ namespace OpenSim.Services.Interfaces
if (Data.ContainsKey("Serial")) if (Data.ContainsKey("Serial"))
appearance.Serial = Int32.Parse(Data["Serial"]); appearance.Serial = Int32.Parse(Data["Serial"]);
if (Data.ContainsKey("AvatarHeight"))
appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]);
// Legacy Wearables // Legacy Wearables
if (Data.ContainsKey("BodyItem")) if (Data.ContainsKey("BodyItem"))
appearance.Wearables[AvatarWearable.BODY].Wear( appearance.Wearables[AvatarWearable.BODY].Wear(