mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
corrected memory info for scripts
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
This commit is contained in:
@@ -6309,8 +6309,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public virtual LSL_Integer llGetFreeMemory()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
// Make scripts designed for LSO happy
|
||||
return 16384;
|
||||
// Make scripts designed for Mono happy
|
||||
return 65536;
|
||||
}
|
||||
|
||||
public LSL_Integer llGetFreeURLs()
|
||||
@@ -12301,15 +12301,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_Integer llGetSPMaxMemory()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
// The value returned for LSO scripts in SL
|
||||
return 16384;
|
||||
// The value returned for Mono scripts in SL
|
||||
return 65536;
|
||||
}
|
||||
|
||||
public virtual LSL_Integer llGetUsedMemory()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
// The value returned for LSO scripts in SL
|
||||
return 16384;
|
||||
// The value returned for Mono scripts in SL
|
||||
return 65536;
|
||||
}
|
||||
|
||||
public void llScriptProfiler(LSL_Integer flags)
|
||||
|
||||
Reference in New Issue
Block a user