Reduce Max region size to 4096m

0.9.1.1
UbitUmarov 2019-11-13 18:00:45 +00:00
parent 8fcecc93a6
commit 2828aa3e9b
2 changed files with 9 additions and 2 deletions

View File

@ -30,13 +30,16 @@ namespace OpenSim.Framework
{
public class Constants
{
public const int MaxAgentAttachments = 38;
public const int MaxAgentGroups = 60;
// 'RegionSize' is the legacy region size.
// DO NOT USE THIS FOR ANY NEW CODE. Use Scene.RegionInfo.RegionSize[XYZ] as a region might not
// be the legacy region size.
public const uint RegionSize = 256;
public const uint RegionHeight = 4096;
// This could be a parameters but, really, a region of greater than this is pretty unmanageable
public const uint MaximumRegionSize = 8192;
public const uint MaximumRegionSize = 4096;
// Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum
public const int MinRegionSize = 16;

View File

@ -74,6 +74,10 @@ namespace OpenSim
/// <remarks>
/// The protocol version that we will use for outgoing transfers
/// Valid values are
/// "SIMULATION/0.8"
/// - up to 45 avatar textures - 11 baked
/// "SIMULATION/0.7"
/// TP uses call back again
/// "SIMULATION/0.3"
/// - supports teleports to variable-sized regions
/// - Older versions can teleport to this one, but only if the destination region