mirror of
https://github.com/opensim/opensim.git
synced 2026-07-13 19:14:51 +08:00
*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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user