mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Added osGetRegionSize(), which returns the region size in meters and recognizes megaregions
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
f7172095e0
commit
2cf224166f
@@ -863,6 +863,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osGetRegionStats();
|
||||
}
|
||||
|
||||
public vector osGetRegionSize()
|
||||
{
|
||||
return m_OSSL_Functions.osGetRegionSize();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the amount of memory in use by the Simulator Daemon.
|
||||
/// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware)
|
||||
|
||||
Reference in New Issue
Block a user