aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ce0820c..7cab841 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4738,7 +4738,9 @@ namespace OpenSim.Region.Framework.Scenes
4738 } 4738 }
4739 4739
4740 PhysActor = pa; 4740 PhysActor = pa;
4741 } 4741
4742 ParentGroup.Scene.EventManager.TriggerObjectAddedToPhysicalScene(this);
4743 }
4742 4744
4743 /// <summary> 4745 /// <summary>
4744 /// This removes the part from the physics scene. 4746 /// This removes the part from the physics scene.
@@ -4757,6 +4759,8 @@ namespace OpenSim.Region.Framework.Scenes
4757 pa.OnOutOfBounds -= PhysicsOutOfBounds; 4759 pa.OnOutOfBounds -= PhysicsOutOfBounds;
4758 4760
4759 ParentGroup.Scene.PhysicsScene.RemovePrim(pa); 4761 ParentGroup.Scene.PhysicsScene.RemovePrim(pa);
4762
4763 ParentGroup.Scene.EventManager.TriggerObjectRemovedFromPhysicalScene(this);
4760 } 4764 }
4761 PhysActor = null; 4765 PhysActor = null;
4762 } 4766 }