diff options
author | Teravus Ovares | 2008-06-06 22:28:52 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-06-06 22:28:52 +0000 |
commit | 8c507b633b50dbcaae7062f4394fdaba6b060716 (patch) | |
tree | 9ca3a698358fec38d11c69411c4bf95b02079e2d /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | * Added a configuration option for allowing god script lsl methods.. such as... (diff) | |
download | opensim-SC-8c507b633b50dbcaae7062f4394fdaba6b060716.zip opensim-SC-8c507b633b50dbcaae7062f4394fdaba6b060716.tar.gz opensim-SC-8c507b633b50dbcaae7062f4394fdaba6b060716.tar.bz2 opensim-SC-8c507b633b50dbcaae7062f4394fdaba6b060716.tar.xz |
* Added Light control from script in LLSetPrimitiveParams.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 16 |
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. |