diff options
author | uriesk | 2018-12-08 19:26:17 +0100 |
---|---|---|
committer | UbitUmarov | 2018-12-11 14:18:55 +0000 |
commit | 34b7d7ec6e8fcdf3e42a17ded470b561578b6f4e (patch) | |
tree | 791c6e60ac1c114c3b09031e1638e181596736b6 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Yengine reset global variables possible damaged by bad state file (diff) | |
download | opensim-SC-34b7d7ec6e8fcdf3e42a17ded470b561578b6f4e.zip opensim-SC-34b7d7ec6e8fcdf3e42a17ded470b561578b6f4e.tar.gz opensim-SC-34b7d7ec6e8fcdf3e42a17ded470b561578b6f4e.tar.bz2 opensim-SC-34b7d7ec6e8fcdf3e42a17ded470b561578b6f4e.tar.xz |
Remove OpenID cookie check (agni_sl_session_id) from *SetContentType Remove commented out second llSetContentType thats the same as osSetContentType anyway
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 8987a8d..a63ce64 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2041,19 +2041,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2041 | } | 2041 | } |
2042 | } | 2042 | } |
2043 | 2043 | ||
2044 | /* | ||
2045 | public void llSetContentType(LSL_Key id, LSL_Integer content_type) | ||
2046 | { | ||
2047 | if (m_UrlModule != null) | ||
2048 | { | ||
2049 | string type = "text.plain"; | ||
2050 | if (content_type == (int)ScriptBaseClass.CONTENT_TYPE_HTML) | ||
2051 | type = "text/html"; | ||
2052 | |||
2053 | m_UrlModule.HttpContentType(new UUID(id),type); | ||
2054 | } | ||
2055 | } | ||
2056 | */ | ||
2057 | public void SetTexGen(SceneObjectPart part, int face,int style) | 2044 | public void SetTexGen(SceneObjectPart part, int face,int style) |
2058 | { | 2045 | { |
2059 | if (part == null || part.ParentGroup == null || part.ParentGroup.IsDeleted) | 2046 | if (part == null || part.ParentGroup == null || part.ParentGroup.IsDeleted) |