aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2014-10-24 18:32:24 +0100
committerUbitUmarov2014-10-24 18:32:24 +0100
commitd2b049b7ad7c32f0cecef35cc828afdb5e24c353 (patch)
tree91a513d8a3ade348a66342a46ec80ededaa84909 /OpenSim
parent try to make SOG crossings full async. Simplify some borders checking.... (diff)
downloadopensim-SC_OLD-d2b049b7ad7c32f0cecef35cc828afdb5e24c353.zip
opensim-SC_OLD-d2b049b7ad7c32f0cecef35cc828afdb5e24c353.tar.gz
opensim-SC_OLD-d2b049b7ad7c32f0cecef35cc828afdb5e24c353.tar.bz2
opensim-SC_OLD-d2b049b7ad7c32f0cecef35cc828afdb5e24c353.tar.xz
check new region size on added code for varsize till its fully suported
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index b855233..e3f101e 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1560,6 +1560,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1560 1560
1561 float newRegionSizeX = neighbourRegion.RegionSizeX; 1561 float newRegionSizeX = neighbourRegion.RegionSizeX;
1562 float newRegionSizeY = neighbourRegion.RegionSizeY; 1562 float newRegionSizeY = neighbourRegion.RegionSizeY;
1563 if (newRegionSizeX == 0)
1564 newRegionSizeX = 256f;
1565 if (newRegionSizeY == 0)
1566 newRegionSizeY = 256f;
1563 1567
1564 if (pos.X < boundaryDistance) 1568 if (pos.X < boundaryDistance)
1565 newpos.X += newRegionSizeX; 1569 newpos.X += newRegionSizeX;