check new region size on added code for varsize till its fully suported
parent
4571e5bc3e
commit
d2b049b7ad
|
@ -1560,6 +1560,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||||
|
|
||||||
float newRegionSizeX = neighbourRegion.RegionSizeX;
|
float newRegionSizeX = neighbourRegion.RegionSizeX;
|
||||||
float newRegionSizeY = neighbourRegion.RegionSizeY;
|
float newRegionSizeY = neighbourRegion.RegionSizeY;
|
||||||
|
if (newRegionSizeX == 0)
|
||||||
|
newRegionSizeX = 256f;
|
||||||
|
if (newRegionSizeY == 0)
|
||||||
|
newRegionSizeY = 256f;
|
||||||
|
|
||||||
if (pos.X < boundaryDistance)
|
if (pos.X < boundaryDistance)
|
||||||
newpos.X += newRegionSizeX;
|
newpos.X += newRegionSizeX;
|
||||||
|
|
Loading…
Reference in New Issue