aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorFreaky Tech2015-03-02 20:56:18 +0100
committerBlueWall2015-03-03 16:09:49 -0500
commit0f72773017e9026a50af80d8aee9373e46a7eb5c (patch)
treea77934c5c2ec271eb9f518a883aaa200666fab94 /OpenSim/Region/ScriptEngine
parentcorrected memory info for scripts (diff)
downloadopensim-SC_OLD-0f72773017e9026a50af80d8aee9373e46a7eb5c.zip
opensim-SC_OLD-0f72773017e9026a50af80d8aee9373e46a7eb5c.tar.gz
opensim-SC_OLD-0f72773017e9026a50af80d8aee9373e46a7eb5c.tar.bz2
opensim-SC_OLD-0f72773017e9026a50af80d8aee9373e46a7eb5c.tar.xz
changed llGetMemoryLimit to return 65536 as for Mono LSL
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 9472636..41b18d6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -12287,8 +12287,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
12287 public LSL_Integer llGetMemoryLimit() 12287 public LSL_Integer llGetMemoryLimit()
12288 { 12288 {
12289 m_host.AddScriptLPS(1); 12289 m_host.AddScriptLPS(1);
12290 // The value returned for LSO scripts in SL 12290 // The value returned for Mono scripts in SL
12291 return 16384; 12291 return 65536;
12292 } 12292 }
12293 12293
12294 public LSL_Integer llSetMemoryLimit(LSL_Integer limit) 12294 public LSL_Integer llSetMemoryLimit(LSL_Integer limit)