diff options
author | Teravus Ovares (Dan Olivares) | 2009-11-21 19:38:38 -0500 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-11-21 19:38:38 -0500 |
commit | f7916d10f3b5ee006035afefe5301a8610820a0c (patch) | |
tree | e72d509380097e8c43ebb6bd0de360451b7d2fe2 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | * Hack to get avatar to land on prim. This is a big nasty hack that tricks ... (diff) | |
download | opensim-SC-f7916d10f3b5ee006035afefe5301a8610820a0c.zip opensim-SC-f7916d10f3b5ee006035afefe5301a8610820a0c.tar.gz opensim-SC-f7916d10f3b5ee006035afefe5301a8610820a0c.tar.bz2 opensim-SC-f7916d10f3b5ee006035afefe5301a8610820a0c.tar.xz |
* This fixes landing on Prim and removes the hack from yesterday. Landing on prim should work fine again.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 424c25b..0d1133f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -994,9 +994,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
994 | } | 994 | } |
995 | 995 | ||
996 | Animator.TrySetMovementAnimation("LAND"); | 996 | Animator.TrySetMovementAnimation("LAND"); |
997 | SendFullUpdateToAllClients(); | 997 | //SendFullUpdateToAllClients(); |
998 | ControllingClient.SendAvatarTerseUpdate(new SendAvatarTerseData(m_rootRegionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId, | 998 | ControllingClient.SendAvatarTerseUpdate(new SendAvatarTerseData(m_rootRegionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId, |
999 | AbsolutePosition, Velocity, -Vector3.UnitZ, m_bodyRot, Vector4.UnitW, m_uuid, null, GetUpdatePriority(ControllingClient))); | 999 | AbsolutePosition, Velocity, Vector3.Zero, m_bodyRot, new Vector4(0,0,1,AbsolutePosition.Z - 0.5f), m_uuid, null, GetUpdatePriority(ControllingClient))); |
1000 | } | 1000 | } |
1001 | 1001 | ||
1002 | public void AddNeighbourRegion(ulong regionHandle, string cap) | 1002 | public void AddNeighbourRegion(ulong regionHandle, string cap) |