[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>
bulletsim
Makopoppo 2011-06-24 19:40:21 +09:00 committed by BlueWall
parent e11c959400
commit 882d5c82b3
1 changed files with 3 additions and 3 deletions

View File

@ -970,7 +970,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public string osDrawPolygon(string drawList, LSL_List x, LSL_List y) public string osDrawPolygon(string drawList, LSL_List x, LSL_List y)
{ {
CheckThreatLevel(ThreatLevel.None, "osDrawFilledPolygon"); CheckThreatLevel(ThreatLevel.None, "osDrawPolygon");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
@ -1409,7 +1409,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
// What actually is the difference to the LL function? // What actually is the difference to the LL function?
// //
CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelMediaURL"); CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelSIPAddress");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
@ -2301,7 +2301,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules) public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules)
{ {
CheckThreatLevel(ThreatLevel.High, "osGetPrimitiveParams"); CheckThreatLevel(ThreatLevel.High, "osSetPrimitiveParams");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
m_LSL_Api.SetPrimitiveParamsEx(prim, rules); m_LSL_Api.SetPrimitiveParamsEx(prim, rules);