diff options
author | Adam Frisby | 2008-05-11 04:32:43 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-11 04:32:43 +0000 |
commit | ee352ebc7971fbb62319da53c520304bda5a15a2 (patch) | |
tree | c7f6fba9087846bb203e1f3812c4e3445c8650e1 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * Refactored two more OutPackets. ObjectPropertiesFamily, and Object Propert... (diff) | |
download | opensim-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/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 2e1116b..e8a6c45 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1524,7 +1524,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
1524 | 1524 | ||
1525 | CreateAndAddScenePresence(client, child); | 1525 | CreateAndAddScenePresence(client, child); |
1526 | 1526 | ||
1527 | LandChannel.SendParcelOverlay(client); | 1527 | try |
1528 | { | ||
1529 | LandChannel.SendParcelOverlay(client); | ||
1530 | } //BUG: Mike - please fix this. | ||
1531 | catch (KeyNotFoundException) | ||
1532 | { | ||
1533 | m_log.Warn("[LAND]: Bug #2 triggered with NPC. LandModule needs a refactor to fix this."); | ||
1534 | } | ||
1535 | |||
1528 | CommsManager.UserProfileCacheService.AddNewUser(client.AgentId); | 1536 | CommsManager.UserProfileCacheService.AddNewUser(client.AgentId); |
1529 | } | 1537 | } |
1530 | } | 1538 | } |