aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2019-11-13 18:00:45 +0000
committerUbitUmarov2019-11-13 18:00:45 +0000
commit2828aa3e9b6a460048f2191c1c0daed735ab66e0 (patch)
tree8aa57cce9062c3f3531c024f3a7752e9fd5578e6 /OpenSim/Framework
parentmissed a few (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Framework/Constants.cs7
-rw-r--r--OpenSim/Framework/VersionInfo.cs4
2 files changed, 9 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;
diff --git a/OpenSim/Framework/VersionInfo.cs b/OpenSim/Framework/VersionInfo.cs
index b886d91..362b64e 100644
--- a/OpenSim/Framework/VersionInfo.cs
+++ b/OpenSim/Framework/VersionInfo.cs
@@ -74,6 +74,10 @@ namespace OpenSim
74 /// <remarks> 74 /// <remarks>
75 /// The protocol version that we will use for outgoing transfers 75 /// The protocol version that we will use for outgoing transfers
76 /// Valid values are 76 /// Valid values are
77 /// "SIMULATION/0.8"
78 /// - up to 45 avatar textures - 11 baked
79 /// "SIMULATION/0.7"
80 /// TP uses call back again
77 /// "SIMULATION/0.3" 81 /// "SIMULATION/0.3"
78 /// - supports teleports to variable-sized regions 82 /// - supports teleports to variable-sized regions
79 /// - Older versions can teleport to this one, but only if the destination region 83 /// - Older versions can teleport to this one, but only if the destination region