diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index ecd78aa6a3..6b5d70bedb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1485,18 +1485,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return vec; } - public void osSetStateEvents(int events) - { - // This function is a hack. There is no reason for it's existence - // anymore, since state events now work properly. - // It was probably added as a crutch or debugging aid, and - // should be removed - // - CheckThreatLevel(ThreatLevel.High, "osSetStateEvents"); - - m_host.SetScriptEvents(m_item.ItemID, events); - } - public void osSetRegionWaterHeight(double height) { CheckThreatLevel(ThreatLevel.High, "osSetRegionWaterHeight"); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index f6bc9fd8e7..3e8c5bb3ab 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs @@ -245,7 +245,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces string osSetPenCap(string drawList, string direction, string type); string osDrawImage(string drawList, int width, int height, string imageUrl); vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize); - void osSetStateEvents(int events); void osSetRegionWaterHeight(double height); void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour); diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 73251961a9..f5777b15be 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -461,11 +461,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase return m_OSSL_Functions.osGetDrawStringSize(contentType, text, fontName, fontSize); } - public void osSetStateEvents(int events) - { - m_OSSL_Functions.osSetStateEvents(events); - } - public string osGetScriptEngineName() { return m_OSSL_Functions.osGetScriptEngineName();