* Hack to get avatar to land on prim. This is a big nasty hack that tricks the client into thinking you're landing on the terrain. There are some visual artifacts when you land. It's only temporary until we figure out how this broke.

This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-11-21 06:39:28 -05:00
parent 7760da1a4c
commit 247fc00ce7

View File

@@ -995,6 +995,8 @@ namespace OpenSim.Region.Framework.Scenes
Animator.TrySetMovementAnimation("LAND");
SendFullUpdateToAllClients();
ControllingClient.SendAvatarTerseUpdate(new SendAvatarTerseData(m_rootRegionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId,
AbsolutePosition, Velocity, -Vector3.UnitZ, m_bodyRot, Vector4.UnitW, m_uuid, null, GetUpdatePriority(ControllingClient)));
}
public void AddNeighbourRegion(ulong regionHandle, string cap)