From ba87ba9c473ecde05bdedd8d14d02aaa3675696b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 18 Nov 2018 19:40:51 +0000 Subject: remove odd ossl function --- .../Shared/Api/Implementation/OSSL_Api.cs | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2e528f3..e9a3d0b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -1812,26 +1812,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - public double osList2Double(LSL_Types.list src, int index) - { - // There is really no double type in OSSL. C# and other - // have one, but the current implementation of LSL_Types.list - // is not allowed to contain any. - // This really should be removed. - // - CheckThreatLevel(); - - if (index < 0) - { - index = src.Length + index; - } - if (index >= src.Length) - { - return 0.0; - } - return Convert.ToDouble(src.Data[index]); - } - public void osSetParcelMediaURL(string url) { // What actually is the difference to the LL function? -- cgit v1.1