aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.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/Scene.Inventory.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 '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index e78ad2b..29bcf0b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -50,9 +50,12 @@ namespace OpenSim.Region.Environment.Scenes
50 { 50 {
51 m_log.Info("[PRIM INVENTORY]: Starting scripts in scene"); 51 m_log.Info("[PRIM INVENTORY]: Starting scripts in scene");
52 52
53 foreach (SceneObjectGroup group in Entities.Values) 53 foreach (EntityBase group in Entities.Values)
54 { 54 {
55 group.StartScripts(); 55 if (group is SceneObjectGroup)
56 {
57 ((SceneObjectGroup) group).StartScripts();
58 }
56 } 59 }
57 } 60 }
58 61