aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-11 04:32:43 +0000
committerAdam Frisby2008-05-11 04:32:43 +0000
commitee352ebc7971fbb62319da53c520304bda5a15a2 (patch)
treec7f6fba9087846bb203e1f3812c4e3445c8650e1 /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parent* Refactored two more OutPackets. ObjectPropertiesFamily, and Object Propert... (diff)
downloadopensim-SC_OLD-ee352ebc7971fbb62319da53c520304bda5a15a2.zip
opensim-SC_OLD-ee352ebc7971fbb62319da53c520304bda5a15a2.tar.gz
opensim-SC_OLD-ee352ebc7971fbb62319da53c520304bda5a15a2.tar.bz2
opensim-SC_OLD-ee352ebc7971fbb62319da53c520304bda5a15a2.tar.xz
* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.
* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.) * Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 043d337..466b20a 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -410,7 +410,14 @@ namespace OpenSim.Region.Environment.Scenes
410 RegisterToEvents(); 410 RegisterToEvents();
411 SetDirectionVectors(); 411 SetDirectionVectors();
412 412
413 m_scene.LandChannel.SendLandUpdate(this, true); 413 try
414 {
415 m_scene.LandChannel.SendLandUpdate(this, true);
416 } //BUG: Mike - please fix this.
417 catch (KeyNotFoundException)
418 {
419 m_log.Warn("[LAND]: Bug triggered with NPC. LandModule needs a refactor to fix this.");
420 }
414 } 421 }
415 422
416 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams, 423 public ScenePresence(IClientAPI client, Scene world, RegionInfo reginfo, byte[] visualParams,