no need to place normal size regions on the inner lookup table (HANDLEMASH ? its MASK)

LSLKeyTest
UbitUmarov 2016-08-04 01:16:17 +01:00
parent 374911c410
commit 9e07c55746
1 changed files with 9 additions and 2 deletions

View File

@ -631,8 +631,15 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
private void addToInner(GridRegion region)
{
int rsx = region.RegionSizeX >> 8;
int rsy = region.RegionSizeY >> 8;
int rsx = region.RegionSizeX;
int rsy = region.RegionSizeY;
if(rsx < 512 && rsy < 512)
return;
rsx >>= 8;
rsy >>= 8;
ulong handle = region.RegionHandle & HANDLEMASH;
fastRegionHandle fh = new fastRegionHandle(handle);
uint startY = fh.y;