diff options
author | Makopoppo | 2011-06-24 19:40:21 +0900 |
---|---|---|
committer | BlueWall | 2011-06-28 11:48:28 -0400 |
commit | 882d5c82b308a95c4897893d2b8e6b816f827d31 (patch) | |
tree | 4ec3d6926691e0b91e4c97147dabd8d301553556 /OpenSim/Region/ScriptEngine/Shared | |
parent | [PATCH] Changed Wind parameters default value in OpenSim.ini.example (diff) | |
download | opensim-SC-882d5c82b308a95c4897893d2b8e6b816f827d31.zip opensim-SC-882d5c82b308a95c4897893d2b8e6b816f827d31.tar.gz opensim-SC-882d5c82b308a95c4897893d2b8e6b816f827d31.tar.bz2 opensim-SC-882d5c82b308a95c4897893d2b8e6b816f827d31.tar.xz |
[PATCH 1/2] Fixed the function names of some OSSL functions shown as
threat-level check error message
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 64931d0..201fef4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -970,7 +970,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
970 | 970 | ||
971 | public string osDrawPolygon(string drawList, LSL_List x, LSL_List y) | 971 | public string osDrawPolygon(string drawList, LSL_List x, LSL_List y) |
972 | { | 972 | { |
973 | CheckThreatLevel(ThreatLevel.None, "osDrawFilledPolygon"); | 973 | CheckThreatLevel(ThreatLevel.None, "osDrawPolygon"); |
974 | 974 | ||
975 | m_host.AddScriptLPS(1); | 975 | m_host.AddScriptLPS(1); |
976 | 976 | ||
@@ -1409,7 +1409,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1409 | { | 1409 | { |
1410 | // What actually is the difference to the LL function? | 1410 | // What actually is the difference to the LL function? |
1411 | // | 1411 | // |
1412 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelMediaURL"); | 1412 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelSIPAddress"); |
1413 | 1413 | ||
1414 | m_host.AddScriptLPS(1); | 1414 | m_host.AddScriptLPS(1); |
1415 | 1415 | ||
@@ -2301,7 +2301,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2301 | 2301 | ||
2302 | public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules) | 2302 | public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules) |
2303 | { | 2303 | { |
2304 | CheckThreatLevel(ThreatLevel.High, "osGetPrimitiveParams"); | 2304 | CheckThreatLevel(ThreatLevel.High, "osSetPrimitiveParams"); |
2305 | m_host.AddScriptLPS(1); | 2305 | m_host.AddScriptLPS(1); |
2306 | 2306 | ||
2307 | m_LSL_Api.SetPrimitiveParamsEx(prim, rules); | 2307 | m_LSL_Api.SetPrimitiveParamsEx(prim, rules); |