diff options
author | Jeff Ames | 2010-09-12 13:43:49 -0400 |
---|---|---|
committer | Jeff Ames | 2010-09-12 13:43:49 -0400 |
commit | f1f0bc23f4501ba99035283d3407ddad2b21b785 (patch) | |
tree | 2b62a244eddf18f5608405abcefa9f763ab54340 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Add copyright headers. (diff) | |
download | opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.zip opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.gz opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.bz2 opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-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 a9c5d10..0692fdb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7977,7 +7977,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7977 | res.Add(new LSL_Integer((int)me.ControlPermissions)); | 7977 | res.Add(new LSL_Integer((int)me.ControlPermissions)); |
7978 | break; | 7978 | break; |
7979 | } | 7979 | } |
7980 | } | 7980 | } |
7981 | 7981 | ||
7982 | return res; | 7982 | return res; |
7983 | } | 7983 | } |
@@ -7993,7 +7993,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7993 | if (face < 0 || face > m_host.GetNumberOfSides() - 1) | 7993 | if (face < 0 || face > m_host.GetNumberOfSides() - 1) |
7994 | return ScriptBaseClass.LSL_STATUS_OK; | 7994 | return ScriptBaseClass.LSL_STATUS_OK; |
7995 | 7995 | ||
7996 | return SetPrimMediaParams(face, rules); | 7996 | return SetPrimMediaParams(face, rules); |
7997 | } | 7997 | } |
7998 | 7998 | ||
7999 | private LSL_Integer SetPrimMediaParams(int face, LSL_List rules) | 7999 | private LSL_Integer SetPrimMediaParams(int face, LSL_List rules) |
@@ -8082,7 +8082,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8082 | me.ControlPermissions = (MediaPermission)(byte)(int)rules.GetLSLIntegerItem(i++); | 8082 | me.ControlPermissions = (MediaPermission)(byte)(int)rules.GetLSLIntegerItem(i++); |
8083 | break; | 8083 | break; |
8084 | } | 8084 | } |
8085 | } | 8085 | } |
8086 | 8086 | ||
8087 | module.SetMediaEntry(m_host, face, me); | 8087 | module.SetMediaEntry(m_host, face, me); |
8088 | 8088 | ||
@@ -8102,7 +8102,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8102 | 8102 | ||
8103 | IMoapModule module = m_ScriptEngine.World.RequestModuleInterface<IMoapModule>(); | 8103 | IMoapModule module = m_ScriptEngine.World.RequestModuleInterface<IMoapModule>(); |
8104 | if (null == module) | 8104 | if (null == module) |
8105 | throw new Exception("Media on a prim functions not available"); | 8105 | throw new Exception("Media on a prim functions not available"); |
8106 | 8106 | ||
8107 | module.ClearMediaEntry(m_host, face); | 8107 | module.ClearMediaEntry(m_host, face); |
8108 | 8108 | ||