aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie2010-10-23 00:21:42 +0100
committerMelanie2010-10-23 00:21:42 +0100
commit7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e (patch)
tree73f156f1f7dc7d199a946d351828c7e725ebfbda /OpenSim/Region/ScriptEngine/Shared
parentChange some exception to use ToString(). e.Message is not sufficient to fix (diff)
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.zip
opensim-SC_OLD-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.gz
opensim-SC_OLD-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.bz2
opensim-SC_OLD-7f74dc1b14d3ef31a9f20bb3a76ef8d587779f7e.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
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,