diff options
Merge branch 'master' into bigmerge
Conflicts:
OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs
OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e53fd5d..ebe276b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4124,9 +4124,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4124 | m_host.AddScriptLPS(1); | 4124 | m_host.AddScriptLPS(1); |
4125 | List<UUID> keytable = new List<UUID>(); | 4125 | List<UUID> keytable = new List<UUID>(); |
4126 | // parse for sitting avatare-uuids | 4126 | // parse for sitting avatare-uuids |
4127 | World.ForEachScenePresence(delegate(ScenePresence presence) | 4127 | World.ForEachRootScenePresence(delegate(ScenePresence presence) |
4128 | { | 4128 | { |
4129 | if (!presence.IsChildAgent && presence.ParentID != 0 && m_host.ParentGroup.HasChildPrim(presence.ParentID)) | 4129 | if (presence.ParentID != 0 && m_host.ParentGroup.HasChildPrim(presence.ParentID)) |
4130 | keytable.Add(presence.UUID); | 4130 | keytable.Add(presence.UUID); |
4131 | }); | 4131 | }); |
4132 | 4132 | ||
@@ -4199,9 +4199,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4199 | m_host.AddScriptLPS(1); | 4199 | m_host.AddScriptLPS(1); |
4200 | // parse for sitting avatare-names | 4200 | // parse for sitting avatare-names |
4201 | List<String> nametable = new List<String>(); | 4201 | List<String> nametable = new List<String>(); |
4202 | World.ForEachScenePresence(delegate(ScenePresence presence) | 4202 | World.ForEachRootScenePresence(delegate(ScenePresence presence) |
4203 | { | 4203 | { |
4204 | if (!presence.IsChildAgent && presence.ParentID != 0 && m_host.ParentGroup.HasChildPrim(presence.ParentID)) | 4204 | if (presence.ParentID != 0 && m_host.ParentGroup.HasChildPrim(presence.ParentID)) |
4205 | nametable.Add(presence.ControllingClient.Name); | 4205 | nametable.Add(presence.ControllingClient.Name); |
4206 | }); | 4206 | }); |
4207 | 4207 | ||
@@ -9933,9 +9933,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9933 | landObject.SetMediaUrl(url); | 9933 | landObject.SetMediaUrl(url); |
9934 | 9934 | ||
9935 | // now send to all (non-child) agents in the parcel | 9935 | // now send to all (non-child) agents in the parcel |
9936 | World.ForEachScenePresence(delegate(ScenePresence sp) | 9936 | World.ForEachRootScenePresence(delegate(ScenePresence sp) |
9937 | { | 9937 | { |
9938 | if (!sp.IsChildAgent && (sp.currentParcelUUID == landData.GlobalID)) | 9938 | if (sp.currentParcelUUID == landData.GlobalID) |
9939 | { | 9939 | { |
9940 | sp.ControllingClient.SendParcelMediaUpdate(landData.MediaURL, | 9940 | sp.ControllingClient.SendParcelMediaUpdate(landData.MediaURL, |
9941 | landData.MediaID, | 9941 | landData.MediaID, |
@@ -9966,9 +9966,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9966 | if (presence == null) | 9966 | if (presence == null) |
9967 | { | 9967 | { |
9968 | // send to all (non-child) agents in the parcel | 9968 | // send to all (non-child) agents in the parcel |
9969 | World.ForEachScenePresence(delegate(ScenePresence sp) | 9969 | World.ForEachRootScenePresence(delegate(ScenePresence sp) |
9970 | { | 9970 | { |
9971 | if (!sp.IsChildAgent && (sp.currentParcelUUID == landData.GlobalID)) | 9971 | if (sp.currentParcelUUID == landData.GlobalID) |
9972 | { | 9972 | { |
9973 | sp.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? | 9973 | sp.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? |
9974 | (ParcelMediaCommandEnum)commandToSend, | 9974 | (ParcelMediaCommandEnum)commandToSend, |