calculate avatar size on tps

avinationmerge
UbitUmarov 2012-12-07 17:28:07 +00:00
parent d2499c4c31
commit b2f3516b68
1 changed files with 3 additions and 2 deletions

View File

@ -678,8 +678,8 @@ namespace OpenSim.Framework
{ {
if ((data != null) && (data["serial"] != null)) if ((data != null) && (data["serial"] != null))
m_serial = data["serial"].AsInteger(); m_serial = data["serial"].AsInteger();
if ((data != null) && (data["height"] != null)) // if ((data != null) && (data["height"] != null))
m_avatarHeight = (float)data["height"].AsReal(); // m_avatarHeight = (float)data["height"].AsReal();
try try
{ {
@ -741,6 +741,7 @@ namespace OpenSim.Framework
// att.ItemID, att.AssetID, att.AttachPoint); // att.ItemID, att.AssetID, att.AttachPoint);
} }
} }
SetHeight();
} }
catch (Exception e) catch (Exception e)
{ {