aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2012-12-07 17:28:07 +0000
committerUbitUmarov2012-12-07 17:28:07 +0000
commitb2f3516b68d6333d70e8758e93d37197863f9a05 (patch)
tree30f658564a1bbd6c5ed5fa186bc9f333c58dca22
parent*TEST* Use new avatar size in ubitODE. (diff)
downloadopensim-SC_OLD-b2f3516b68d6333d70e8758e93d37197863f9a05.zip
opensim-SC_OLD-b2f3516b68d6333d70e8758e93d37197863f9a05.tar.gz
opensim-SC_OLD-b2f3516b68d6333d70e8758e93d37197863f9a05.tar.bz2
opensim-SC_OLD-b2f3516b68d6333d70e8758e93d37197863f9a05.tar.xz
calculate avatar size on tps
-rw-r--r--OpenSim/Framework/AvatarAppearance.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs
index ad783c8..9e912de 100644
--- a/OpenSim/Framework/AvatarAppearance.cs
+++ b/OpenSim/Framework/AvatarAppearance.cs
@@ -678,8 +678,8 @@ namespace OpenSim.Framework
678 { 678 {
679 if ((data != null) && (data["serial"] != null)) 679 if ((data != null) && (data["serial"] != null))
680 m_serial = data["serial"].AsInteger(); 680 m_serial = data["serial"].AsInteger();
681 if ((data != null) && (data["height"] != null)) 681// if ((data != null) && (data["height"] != null))
682 m_avatarHeight = (float)data["height"].AsReal(); 682// m_avatarHeight = (float)data["height"].AsReal();
683 683
684 try 684 try
685 { 685 {
@@ -741,6 +741,7 @@ namespace OpenSim.Framework
741// att.ItemID, att.AssetID, att.AttachPoint); 741// att.ItemID, att.AssetID, att.AttachPoint);
742 } 742 }
743 } 743 }
744 SetHeight();
744 } 745 }
745 catch (Exception e) 746 catch (Exception e)
746 { 747 {