* 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.OnNewClient += OnNewClient;
|
||||||
scene.EventManager.OnGridInstantMessageToFriendsModule += OnGridInstantMessage;
|
scene.EventManager.OnGridInstantMessageToFriendsModule += OnGridInstantMessage;
|
||||||
|
scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public XmlRpcResponse processPresenceUpdate(XmlRpcRequest req)
|
public XmlRpcResponse processPresenceUpdate(XmlRpcRequest req)
|
||||||
|
@ -84,6 +86,13 @@ namespace OpenSim.Region.Environment.Modules
|
||||||
client.OnTerminateFriendship += OnTerminateFriendship;
|
client.OnTerminateFriendship += OnTerminateFriendship;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AvatarEnteringParcel(ScenePresence avatar, int localLandID, LLUUID regionID)
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnInstantMessage(IClientAPI client,LLUUID fromAgentID,
|
private void OnInstantMessage(IClientAPI client,LLUUID fromAgentID,
|
||||||
|
|
|
@ -1484,7 +1484,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
if (Util.GetDistanceTo(AbsolutePosition, posLastSignificantMove) > 0.5)
|
if (Util.GetDistanceTo(AbsolutePosition, posLastSignificantMove) > 0.5)
|
||||||
{
|
{
|
||||||
posLastSignificantMove = AbsolutePosition;
|
posLastSignificantMove = AbsolutePosition;
|
||||||
|
handler001 = OnSignificantClientMovement;
|
||||||
if (handler001 != null)
|
if (handler001 != null)
|
||||||
{
|
{
|
||||||
handler001(m_controllingClient);
|
handler001(m_controllingClient);
|
||||||
|
|
Loading…
Reference in New Issue