fix osSet/GetPrimitiveParams threat level

0.9.1.0-post-fixes
UbitUmarov 2019-03-31 02:12:30 +01:00
parent 98be996991
commit 4626f0850a
1 changed files with 2 additions and 2 deletions

View File

@ -3780,7 +3780,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules)
{
CheckThreatLevel(ThreatLevel.High, "osGetPrimitiveParams");
CheckThreatLevel();
InitLSL();
return m_LSL_Api.GetPrimitiveParamsEx(prim, rules);
@ -3788,7 +3788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules)
{
CheckThreatLevel(ThreatLevel.High, "osSetPrimitiveParams");
CheckThreatLevel();
InitLSL();
m_LSL_Api.SetPrimitiveParamsEx(prim, rules, "osSetPrimitiveParams");