diff options
author | Melanie | 2010-10-23 00:21:42 +0100 |
---|---|---|
committer | Melanie | 2010-10-23 00:21:42 +0100 |
commit | 7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e (patch) | |
tree | 73f156f1f7dc7d199a946d351828c7e725ebfbda /OpenSim/Region/ScriptEngine | |
parent | Change some exception to use ToString(). e.Message is not sufficient to fix (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.zip opensim-SC-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.gz opensim-SC-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.bz2 opensim-SC-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f55bd12..3249ae2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9637,10 +9637,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9637 | // do that one last, it will cause a ParcelPropertiesUpdate | 9637 | // do that one last, it will cause a ParcelPropertiesUpdate |
9638 | landObject.SetMediaUrl(url); | 9638 | landObject.SetMediaUrl(url); |
9639 | 9639 | ||
9640 | // now send to all (non-child) agents | 9640 | // now send to all (non-child) agents in the parcel |
9641 | World.ForEachScenePresence(delegate(ScenePresence sp) | 9641 | World.ForEachScenePresence(delegate(ScenePresence sp) |
9642 | { | 9642 | { |
9643 | if (!sp.IsChildAgent) | 9643 | if (!sp.IsChildAgent && (sp.currentParcelUUID == landData.GlobalID)) |
9644 | { | 9644 | { |
9645 | sp.ControllingClient.SendParcelMediaUpdate(landData.MediaURL, | 9645 | sp.ControllingClient.SendParcelMediaUpdate(landData.MediaURL, |
9646 | landData.MediaID, | 9646 | landData.MediaID, |
@@ -9670,10 +9670,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9670 | // the commandList contained a start/stop/... command, too | 9670 | // the commandList contained a start/stop/... command, too |
9671 | if (presence == null) | 9671 | if (presence == null) |
9672 | { | 9672 | { |
9673 | // send to all (non-child) agents | 9673 | // send to all (non-child) agents in the parcel |
9674 | World.ForEachScenePresence(delegate(ScenePresence sp) | 9674 | World.ForEachScenePresence(delegate(ScenePresence sp) |
9675 | { | 9675 | { |
9676 | if (!sp.IsChildAgent) | 9676 | if (!sp.IsChildAgent && (sp.currentParcelUUID == landData.GlobalID)) |
9677 | { | 9677 | { |
9678 | sp.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? | 9678 | sp.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? |
9679 | (ParcelMediaCommandEnum)commandToSend, | 9679 | (ParcelMediaCommandEnum)commandToSend, |