aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authormingchen2008-05-09 17:40:39 +0000
committermingchen2008-05-09 17:40:39 +0000
commit3900a165bcbaf39f8bb4155eba72a8a2aadd13da (patch)
treeb08c7d8f81564586789fc0d59433151993786d65 /OpenSim/Region/Environment/Modules
parent* Removing console notifications of missing texture request sending (which ir... (diff)
downloadopensim-SC_OLD-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.zip
opensim-SC_OLD-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.gz
opensim-SC_OLD-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.bz2
opensim-SC_OLD-3900a165bcbaf39f8bb4155eba72a8a2aadd13da.tar.xz
*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
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandChannel.cs10
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs1
2 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandChannel.cs b/OpenSim/Region/Environment/Modules/World/Land/LandChannel.cs
index 341412a..2a28283 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandChannel.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandChannel.cs
@@ -79,16 +79,6 @@ namespace OpenSim.Region.Environment.Modules.World.Land
79 { 79 {
80 m_scene = scene; 80 m_scene = scene;
81 landIDList.Initialize(); 81 landIDList.Initialize();
82
83 m_scene.EventManager.OnNewPresence += handleNewPresence;
84 }
85
86 private void handleNewPresence(ScenePresence avatar)
87 {
88 if (avatar.IsChildAgent)
89 {
90 avatar.OnSignificantClientMovement += handleSignificantClientMovement;
91 }
92 } 82 }
93 83
94 #region Land Object From Storage Functions 84 #region Land Object From Storage Functions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 5e65608..a339ebf 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -51,6 +51,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
51 m_scene.EventManager.OnValidateLandBuy += landChannel.handleLandValidationRequest; 51 m_scene.EventManager.OnValidateLandBuy += landChannel.handleLandValidationRequest;
52 m_scene.EventManager.OnLandBuy += landChannel.handleLandBuyRequest; 52 m_scene.EventManager.OnLandBuy += landChannel.handleLandBuyRequest;
53 m_scene.EventManager.OnNewClient += new EventManager.OnNewClientDelegate(EventManager_OnNewClient); 53 m_scene.EventManager.OnNewClient += new EventManager.OnNewClientDelegate(EventManager_OnNewClient);
54 m_scene.EventManager.OnSignificantClientMovement += landChannel.handleSignificantClientMovement;
54 55
55 lock (m_scene) 56 lock (m_scene)
56 { 57 {