aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJeff Ames2008-10-12 03:16:49 +0000
committerJeff Ames2008-10-12 03:16:49 +0000
commitfdec8390c15ceddb56002d4d8daa2411d2e42fb7 (patch)
tree2b4e4a4966096a611aac3cf4fb37acd32a242945 /OpenSim/Region/ScriptEngine
parentAdd one more check for key presence (diff)
downloadopensim-SC_OLD-fdec8390c15ceddb56002d4d8daa2411d2e42fb7.zip
opensim-SC_OLD-fdec8390c15ceddb56002d4d8daa2411d2e42fb7.tar.gz
opensim-SC_OLD-fdec8390c15ceddb56002d4d8daa2411d2e42fb7.tar.bz2
opensim-SC_OLD-fdec8390c15ceddb56002d4d8daa2411d2e42fb7.tar.xz
Update svn properties, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 447a4fb..428aeb6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7366,7 +7366,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7366 7366
7367 // now send to all (non-child) agents 7367 // now send to all (non-child) agents
7368 List<ScenePresence> agents = World.GetAvatars(); 7368 List<ScenePresence> agents = World.GetAvatars();
7369 foreach(ScenePresence agent in agents) 7369 foreach (ScenePresence agent in agents)
7370 { 7370 {
7371 agent.ControllingClient.SendParcelMediaUpdate(landData.MediaURL, 7371 agent.ControllingClient.SendParcelMediaUpdate(landData.MediaURL,
7372 landData.MediaID, 7372 landData.MediaID,
@@ -7377,7 +7377,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7377 1); // TODO do some LOOP logic here 7377 1); // TODO do some LOOP logic here
7378 } 7378 }
7379 } 7379 }
7380 else if(!presence.IsChildAgent) 7380 else if (!presence.IsChildAgent)
7381 { 7381 {
7382 // we only send to one (root) agent 7382 // we only send to one (root) agent
7383 presence.ControllingClient.SendParcelMediaUpdate(url, 7383 presence.ControllingClient.SendParcelMediaUpdate(url,
@@ -7397,14 +7397,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7397 { 7397 {
7398 // send to all (non-child) agents 7398 // send to all (non-child) agents
7399 List<ScenePresence> agents = World.GetAvatars(); 7399 List<ScenePresence> agents = World.GetAvatars();
7400 foreach(ScenePresence agent in agents) 7400 foreach (ScenePresence agent in agents)
7401 { 7401 {
7402 agent.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? 7402 agent.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this?
7403 (ParcelMediaCommandEnum)commandToSend, 7403 (ParcelMediaCommandEnum)commandToSend,
7404 time); 7404 time);
7405 } 7405 }
7406 } 7406 }
7407 else if(!presence.IsChildAgent) 7407 else if (!presence.IsChildAgent)
7408 { 7408 {
7409 presence.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this? 7409 presence.ControllingClient.SendParcelMediaCommand(0x4, // TODO what is this?
7410 (ParcelMediaCommandEnum)commandToSend, 7410 (ParcelMediaCommandEnum)commandToSend,