aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2012-12-07 15:54:46 +0000
committerUbitUmarov2012-12-07 15:54:46 +0000
commitd2499c4c314b290c42f454913305d97c6eec92d6 (patch)
treed341f578da7a09e2dfce9733b16b5516b3c1314f /OpenSim/Region/Framework/Scenes
parent fix regression (diff)
downloadopensim-SC-d2499c4c314b290c42f454913305d97c6eec92d6.zip
opensim-SC-d2499c4c314b290c42f454913305d97c6eec92d6.tar.gz
opensim-SC-d2499c4c314b290c42f454913305d97c6eec92d6.tar.bz2
opensim-SC-d2499c4c314b290c42f454913305d97c6eec92d6.tar.xz
*TEST* Use new avatar size in ubitODE.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f5d609d..b6eae8e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1260,6 +1260,12 @@ namespace OpenSim.Region.Framework.Scenes
1260 PhysicsActor.Size = new Vector3(0.45f, 0.6f, height); 1260 PhysicsActor.Size = new Vector3(0.45f, 0.6f, height);
1261 } 1261 }
1262 1262
1263 public void SetSize(Vector3 size, float feetoffset)
1264 {
1265 if (PhysicsActor != null && !IsChildAgent)
1266 PhysicsActor.setAvatarSize(size, feetoffset);
1267 }
1268
1263 /// <summary> 1269 /// <summary>
1264 /// Complete Avatar's movement into the region. 1270 /// Complete Avatar's movement into the region.
1265 /// </summary> 1271 /// </summary>