diff options
author | mingchen | 2008-05-23 15:12:15 +0000 |
---|---|---|
committer | mingchen | 2008-05-23 15:12:15 +0000 |
commit | d04443b4fe0fb3993b53086d95be97a766b409f6 (patch) | |
tree | d6989220bdb1aad7e49546108f9624227c3f07f8 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule. (diff) | |
download | opensim-SC-d04443b4fe0fb3993b53086d95be97a766b409f6.zip opensim-SC-d04443b4fe0fb3993b53086d95be97a766b409f6.tar.gz opensim-SC-d04443b4fe0fb3993b53086d95be97a766b409f6.tar.bz2 opensim-SC-d04443b4fe0fb3993b53086d95be97a766b409f6.tar.xz |
*Refactor of the LandManagementModule that allows OpenSim to run without it
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 0dbd6dd..103068c 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -405,14 +405,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
405 | RegisterToEvents(); | 405 | RegisterToEvents(); |
406 | SetDirectionVectors(); | 406 | SetDirectionVectors(); |
407 | 407 | ||
408 | try | 408 | |
409 | { | ||
410 | m_scene.LandChannel.SendLandUpdate(this, true); | ||
411 | } //BUG: Mike - please fix this. | ||
412 | catch (KeyNotFoundException) | ||
413 | { | ||
414 | m_log.Warn("[LAND]: Bug triggered with NPC. LandModule needs a refactor to fix this."); | ||
415 | } | ||
416 | } | 409 | } |
417 | 410 | ||
418 | public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams, | 411 | public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams, |
@@ -596,7 +589,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
596 | //if (!m_gotAllObjectsInScene) | 589 | //if (!m_gotAllObjectsInScene) |
597 | //{ | 590 | //{ |
598 | m_scene.SendAllSceneObjectsToClient(this); | 591 | m_scene.SendAllSceneObjectsToClient(this); |
599 | m_scene.LandChannel.SendLandUpdate(this, true); | ||
600 | 592 | ||
601 | //m_gotAllObjectsInScene = true; | 593 | //m_gotAllObjectsInScene = true; |
602 | //} | 594 | //} |