diff options
author | Jeff Ames | 2009-08-09 00:43:13 +0900 |
---|---|---|
committer | Jeff Ames | 2009-08-09 00:43:13 +0900 |
commit | bc6ec3b56469f2d722ceee8fdb37059125878f66 (patch) | |
tree | 760639b0847b0dfe818989b5adc4f7cf87c0dbab /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | * Fix one physics crash for regions larger then 512mx512m (diff) | |
download | opensim-SC_OLD-bc6ec3b56469f2d722ceee8fdb37059125878f66.zip opensim-SC_OLD-bc6ec3b56469f2d722ceee8fdb37059125878f66.tar.gz opensim-SC_OLD-bc6ec3b56469f2d722ceee8fdb37059125878f66.tar.bz2 opensim-SC_OLD-bc6ec3b56469f2d722ceee8fdb37059125878f66.tar.xz |
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index b855a1a..ff85b96 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7246,10 +7246,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7246 | public LSL_List llGetPrimitiveParams(LSL_List rules) | 7246 | public LSL_List llGetPrimitiveParams(LSL_List rules) |
7247 | { | 7247 | { |
7248 | m_host.AddScriptLPS(1); | 7248 | m_host.AddScriptLPS(1); |
7249 | return GetLinkPrimitiveParams( m_host, rules ); | 7249 | return GetLinkPrimitiveParams(m_host, rules); |
7250 | } | 7250 | } |
7251 | 7251 | ||
7252 | public LSL_List GetLinkPrimitiveParams( SceneObjectPart part, LSL_List rules ) | 7252 | public LSL_List GetLinkPrimitiveParams(SceneObjectPart part, LSL_List rules) |
7253 | { | 7253 | { |
7254 | 7254 | ||
7255 | LSL_List res = new LSL_List(); | 7255 | LSL_List res = new LSL_List(); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index cbe84ac..6539bda 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1748,16 +1748,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1748 | // to an unscrupulous third party, thus permitting unauthorized duplication of | 1748 | // to an unscrupulous third party, thus permitting unauthorized duplication of |
1749 | // the object's form. | 1749 | // the object's form. |
1750 | // | 1750 | // |
1751 | public LSL_List osGetLinkPrimitiveParams( int linknumber, LSL_List rules ) | 1751 | public LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules) |
1752 | { | 1752 | { |
1753 | CheckThreatLevel( ThreatLevel.High, "osGetLinkPrimitiveParams" ); | 1753 | CheckThreatLevel(ThreatLevel.High, "osGetLinkPrimitiveParams"); |
1754 | m_host.AddScriptLPS( 1 ); | 1754 | m_host.AddScriptLPS(1); |
1755 | InitLSL(); | 1755 | InitLSL(); |
1756 | LSL_List retVal = new LSL_List(); | 1756 | LSL_List retVal = new LSL_List(); |
1757 | List<SceneObjectPart> parts = ((LSL_Api)m_LSL_Api).GetLinkParts( linknumber ); | 1757 | List<SceneObjectPart> parts = ((LSL_Api)m_LSL_Api).GetLinkParts(linknumber); |
1758 | foreach (SceneObjectPart part in parts) | 1758 | foreach (SceneObjectPart part in parts) |
1759 | { | 1759 | { |
1760 | retVal += ((LSL_Api)m_LSL_Api).GetLinkPrimitiveParams( part, rules ); | 1760 | retVal += ((LSL_Api)m_LSL_Api).GetLinkPrimitiveParams(part, rules); |
1761 | } | 1761 | } |
1762 | return retVal; | 1762 | return retVal; |
1763 | } | 1763 | } |