* OnSignificantClientMovement was never being called. So we got no land updates (fixed)
parent
70ad5604cd
commit
41c369de82
|
@ -61,6 +61,8 @@ namespace OpenSim.Region.Environment.Modules
|
|||
}
|
||||
scene.EventManager.OnNewClient += OnNewClient;
|
||||
scene.EventManager.OnGridInstantMessageToFriendsModule += OnGridInstantMessage;
|
||||
scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel;
|
||||
|
||||
|
||||
}
|
||||
public XmlRpcResponse processPresenceUpdate(XmlRpcRequest req)
|
||||
|
@ -82,8 +84,15 @@ namespace OpenSim.Region.Environment.Modules
|
|||
client.OnApproveFriendRequest += OnApprovedFriendRequest;
|
||||
client.OnDenyFriendRequest += OnDenyFriendRequest;
|
||||
client.OnTerminateFriendship += OnTerminateFriendship;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void AvatarEnteringParcel(ScenePresence avatar, int localLandID, LLUUID regionID)
|
||||
{
|
||||
int i = 0;
|
||||
}
|
||||
|
||||
private void OnInstantMessage(IClientAPI client,LLUUID fromAgentID,
|
||||
|
|
|
@ -1484,7 +1484,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
if (Util.GetDistanceTo(AbsolutePosition, posLastSignificantMove) > 0.5)
|
||||
{
|
||||
posLastSignificantMove = AbsolutePosition;
|
||||
|
||||
handler001 = OnSignificantClientMovement;
|
||||
if (handler001 != null)
|
||||
{
|
||||
handler001(m_controllingClient);
|
||||
|
|
Loading…
Reference in New Issue