diff options
author | UbitUmarov | 2019-11-13 18:00:45 +0000 |
---|---|---|
committer | UbitUmarov | 2019-11-13 18:00:45 +0000 |
commit | 2828aa3e9b6a460048f2191c1c0daed735ab66e0 (patch) | |
tree | 8aa57cce9062c3f3531c024f3a7752e9fd5578e6 /OpenSim/Framework/Constants.cs | |
parent | missed a few (diff) | |
download | opensim-SC-2828aa3e9b6a460048f2191c1c0daed735ab66e0.zip opensim-SC-2828aa3e9b6a460048f2191c1c0daed735ab66e0.tar.gz opensim-SC-2828aa3e9b6a460048f2191c1c0daed735ab66e0.tar.bz2 opensim-SC-2828aa3e9b6a460048f2191c1c0daed735ab66e0.tar.xz |
Reduce Max region size to 4096m
Diffstat (limited to 'OpenSim/Framework/Constants.cs')
-rw-r--r-- | OpenSim/Framework/Constants.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index d6bfed4..64912b4 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs | |||
@@ -30,13 +30,16 @@ namespace OpenSim.Framework | |||
30 | { | 30 | { |
31 | public class Constants | 31 | public class Constants |
32 | { | 32 | { |
33 | public const int MaxAgentAttachments = 38; | ||
34 | public const int MaxAgentGroups = 60; | ||
35 | |||
33 | // 'RegionSize' is the legacy region size. | 36 | // 'RegionSize' is the legacy region size. |
34 | // DO NOT USE THIS FOR ANY NEW CODE. Use Scene.RegionInfo.RegionSize[XYZ] as a region might not | 37 | // DO NOT USE THIS FOR ANY NEW CODE. Use Scene.RegionInfo.RegionSize[XYZ] as a region might not |
35 | // be the legacy region size. | 38 | // be the legacy region size. |
36 | public const uint RegionSize = 256; | 39 | public const uint RegionSize = 256; |
37 | public const uint RegionHeight = 4096; | 40 | public const uint RegionHeight = 4096; |
38 | // This could be a parameters but, really, a region of greater than this is pretty unmanageable | 41 | |
39 | public const uint MaximumRegionSize = 8192; | 42 | public const uint MaximumRegionSize = 4096; |
40 | 43 | ||
41 | // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum | 44 | // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum |
42 | public const int MinRegionSize = 16; | 45 | public const int MinRegionSize = 16; |