mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
If an avatar is sitting, send out position updates to clients for any change, not just those outside the usual tolerances.
This is to allow small adjustments of less than 0.05m in functions such as llSetPrimitiveLinkParams() to work This is another fix for http://opensimulator.org/mantis/view.php?id=7044 Extends regression test for this case.
This commit is contained in:
@@ -62,6 +62,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||
public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion;
|
||||
public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour;
|
||||
public event TestClientOnSendRegionTeleportDelegate OnTestClientSendRegionTeleport;
|
||||
public event Action<ISceneEntity, PrimUpdateFlags> OnReceivedEntityUpdate;
|
||||
public event Action<GridInstantMessage> OnReceivedInstantMessage;
|
||||
public event Action<UUID> OnReceivedSendRebakeAvatarTextures;
|
||||
|
||||
@@ -685,6 +686,8 @@ namespace OpenSim.Tests.Common.Mock
|
||||
|
||||
public void SendEntityUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags)
|
||||
{
|
||||
if (OnReceivedEntityUpdate != null)
|
||||
OnReceivedEntityUpdate(entity, updateFlags);
|
||||
}
|
||||
|
||||
public void ReprioritizeUpdates()
|
||||
|
||||
Reference in New Issue
Block a user