aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 0948d69..c000047 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -950,6 +950,22 @@ namespace OpenSim.Region.Environment.Scenes
950 } 950 }
951 } 951 }
952 } 952 }
953 public void FakeDeleteGroup()
954 {
955 foreach (SceneObjectPart part in m_parts.Values)
956 {
957 List<ScenePresence> avatars = Scene.GetScenePresences();
958 for (int i = 0; i < avatars.Count; i++)
959 {
960 if (avatars[i].ParentID == LocalId)
961 {
962 avatars[i].StandUp();
963 }
964
965 avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
966 }
967 }
968 }
953 969
954 /// <summary> 970 /// <summary>
955 /// Delete all the parts in this group. 971 /// Delete all the parts in this group.