calculate avatar size on tps
parent
d2499c4c31
commit
b2f3516b68
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue