From b2f3516b68d6333d70e8758e93d37197863f9a05 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 7 Dec 2012 17:28:07 +0000 Subject: [PATCH] calculate avatar size on tps --- OpenSim/Framework/AvatarAppearance.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index ad783c8d86..9e912def79 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs @@ -678,8 +678,8 @@ namespace OpenSim.Framework { if ((data != null) && (data["serial"] != null)) m_serial = data["serial"].AsInteger(); - if ((data != null) && (data["height"] != null)) - m_avatarHeight = (float)data["height"].AsReal(); +// if ((data != null) && (data["height"] != null)) +// m_avatarHeight = (float)data["height"].AsReal(); try { @@ -741,6 +741,7 @@ namespace OpenSim.Framework // att.ItemID, att.AssetID, att.AttachPoint); } } + SetHeight(); } catch (Exception e) {