*Land/Parcel upates are now correct with a significant movement by the Client

*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
This commit is contained in:
mingchen
2008-05-09 17:40:39 +00:00
parent 87a519837e
commit 3900a165bc
4 changed files with 19 additions and 21 deletions

View File

@@ -79,16 +79,6 @@ namespace OpenSim.Region.Environment.Modules.World.Land
{
m_scene = scene;
landIDList.Initialize();
m_scene.EventManager.OnNewPresence += handleNewPresence;
}
private void handleNewPresence(ScenePresence avatar)
{
if (avatar.IsChildAgent)
{
avatar.OnSignificantClientMovement += handleSignificantClientMovement;
}
}
#region Land Object From Storage Functions

View File

@@ -51,6 +51,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
m_scene.EventManager.OnValidateLandBuy += landChannel.handleLandValidationRequest;
m_scene.EventManager.OnLandBuy += landChannel.handleLandBuyRequest;
m_scene.EventManager.OnNewClient += new EventManager.OnNewClientDelegate(EventManager_OnNewClient);
m_scene.EventManager.OnSignificantClientMovement += landChannel.handleSignificantClientMovement;
lock (m_scene)
{