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.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index f674ce2..cdf6788 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -883,6 +883,15 @@ namespace OpenSim.Region.Environment.Scenes
883 return false; 883 return false;
884 } 884 }
885 885
886 public void SendKillObject(uint localID)
887 {
888 List<ScenePresence> avatars = this.RequestAvatarList();
889 for (int i = 0; i < avatars.Count; i++)
890 {
891 avatars[i].ControllingClient.SendKillObject(this.m_regionHandle, localID);
892 }
893 }
894
886 public void SendAllSceneObjectsToClient(IClientAPI client) 895 public void SendAllSceneObjectsToClient(IClientAPI client)
887 { 896 {
888 foreach (EntityBase ent in Entities.Values) 897 foreach (EntityBase ent in Entities.Values)