aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 9565c02..03e7a41 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -136,6 +136,9 @@ namespace OpenSim.Region.Environment.Scenes
136 m_scriptManager = new ScriptManager(this); 136 m_scriptManager = new ScriptManager(this);
137 m_eventManager = new EventManager(); 137 m_eventManager = new EventManager();
138 138
139 m_eventManager.OnParcelPrimCountTainted += new EventManager.OnParcelPrimCountTaintedDelegate(m_parcelManager.setPrimsTainted);
140 m_eventManager.OnParcelPrimCountAdd += new EventManager.OnParcelPrimCountAddDelegate(m_parcelManager.addPrimToParcelCounts);
141
139 MainLog.Instance.Verbose("World.cs - creating new entitities instance"); 142 MainLog.Instance.Verbose("World.cs - creating new entitities instance");
140 Entities = new Dictionary<LLUUID, EntityBase>(); 143 Entities = new Dictionary<LLUUID, EntityBase>();
141 Avatars = new Dictionary<LLUUID, ScenePresence>(); 144 Avatars = new Dictionary<LLUUID, ScenePresence>();
@@ -453,7 +456,7 @@ namespace OpenSim.Region.Environment.Scenes
453 /// <param name="ownerID"></param> 456 /// <param name="ownerID"></param>
454 public void AddNewPrim(LLUUID ownerID, LLVector3 pos, PrimitiveBaseShape shape) 457 public void AddNewPrim(LLUUID ownerID, LLVector3 pos, PrimitiveBaseShape shape)
455 { 458 {
456 SceneObject sceneOb = new SceneObject(this, ownerID, this.PrimIDAllocate(), pos, shape); 459 SceneObject sceneOb = new SceneObject(this, m_eventManager, ownerID, this.PrimIDAllocate(), pos, shape);
457 AddNewEntity(sceneOb); 460 AddNewEntity(sceneOb);
458 } 461 }
459 462