* 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.

0.6.8-post-fixes
Teravus Ovares (Dan Olivares) 2009-11-21 06:39:28 -05:00
parent 7760da1a4c
commit 247fc00ce7
1 changed files with 2 additions and 0 deletions

View File

@ -995,6 +995,8 @@ namespace OpenSim.Region.Framework.Scenes
Animator.TrySetMovementAnimation("LAND"); Animator.TrySetMovementAnimation("LAND");
SendFullUpdateToAllClients(); 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) public void AddNeighbourRegion(ulong regionHandle, string cap)