From 412e317b2f54db3b316d17d10dbf6c6ff7fa22c6 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 5 Aug 2019 04:17:54 +1000 Subject: Limits -= 2 Low Y regions are no longer reserved for HG links. Varregions don't have to be square. Both now report a warning, but continue anyway. Cool VL Viewer handles non square regions, Singularity crashes. Not tested on others. --- OpenSim/Framework/RegionInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/RegionInfo.cs') diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index 8dac0ac..9e5162e 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs @@ -842,10 +842,10 @@ namespace OpenSim.Framework if (RegionSizeX != RegionSizeY) { uint minSize = Math.Min(RegionSizeX, RegionSizeY); - RegionSizeX = minSize; - RegionSizeY = minSize; - m_log.ErrorFormat("{0} Regions must be square until viewers are updated. Forcing region {1} size to <{2},{3}>", - LogHeader, m_regionName, RegionSizeX, RegionSizeY); +//// RegionSizeX = minSize; +//// RegionSizeY = minSize; + m_log.WarnFormat("{0} Regions must be square until viewers are updated. NOT Forcing region {1} size to <{2},{3}>", + LogHeader, m_regionName, minSize, minSize); } // There is a practical limit to region size. -- cgit v1.1