From 2828aa3e9b6a460048f2191c1c0daed735ab66e0 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 13 Nov 2019 18:00:45 +0000 Subject: [PATCH] Reduce Max region size to 4096m --- OpenSim/Framework/Constants.cs | 7 +++++-- OpenSim/Framework/VersionInfo.cs | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index d6bfed4ee2..64912b4e9e 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs @@ -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; diff --git a/OpenSim/Framework/VersionInfo.cs b/OpenSim/Framework/VersionInfo.cs index b886d9187f..362b64eda4 100644 --- a/OpenSim/Framework/VersionInfo.cs +++ b/OpenSim/Framework/VersionInfo.cs @@ -74,6 +74,10 @@ namespace OpenSim /// /// 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