aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorRobert Adams2013-02-14 09:48:11 -0800
committerRobert Adams2013-02-14 09:48:11 -0800
commit5920abbf8d1b1770c03bc6232f1afe0551b4a331 (patch)
tree199015d36f52cb5e1c562a3f332d36aa9f3c0aae /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentAdd an event and some logic to allow customizing Simulator Features by avatar (diff)
downloadopensim-SC_OLD-5920abbf8d1b1770c03bc6232f1afe0551b4a331.zip
opensim-SC_OLD-5920abbf8d1b1770c03bc6232f1afe0551b4a331.tar.gz
opensim-SC_OLD-5920abbf8d1b1770c03bc6232f1afe0551b4a331.tar.bz2
opensim-SC_OLD-5920abbf8d1b1770c03bc6232f1afe0551b4a331.tar.xz
Add EventManager events triggered when a SOP is added or removed
from the physical scene. Invocations added in SceneObjectPart.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 9b29973..cce8b21 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4316,6 +4316,7 @@ namespace OpenSim.Region.Framework.Scenes
4316 } 4316 }
4317 4317
4318 PhysActor = pa; 4318 PhysActor = pa;
4319 ParentGroup.Scene.EventManager.TriggerObjectAddedToPhysicalScene(this);
4319 } 4320 }
4320 4321
4321 /// <summary> 4322 /// <summary>
@@ -4328,6 +4329,7 @@ namespace OpenSim.Region.Framework.Scenes
4328 /// </remarks> 4329 /// </remarks>
4329 public void RemoveFromPhysics() 4330 public void RemoveFromPhysics()
4330 { 4331 {
4332 ParentGroup.Scene.EventManager.TriggerObjectRemovedFromPhysicalScene(this);
4331 ParentGroup.Scene.PhysicsScene.RemovePrim(PhysActor); 4333 ParentGroup.Scene.PhysicsScene.RemovePrim(PhysActor);
4332 PhysActor = null; 4334 PhysActor = null;
4333 } 4335 }