fix object crossings to other scene on same instance

This commit is contained in:
UbitUmarov
2015-09-26 01:31:57 +01:00
parent 07a8618c56
commit 0fb033e567
3 changed files with 10 additions and 1 deletions

View File

@@ -201,12 +201,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
uint regionX = Util.WorldToRegionLoc((uint)x);
uint regionY = Util.WorldToRegionLoc((uint)y);
/* we are insane now
// Sanity check
if ((Util.RegionToWorldLoc(regionX) != (uint)x) || (Util.RegionToWorldLoc(regionY) != (uint)y))
{
m_log.WarnFormat("{0} GetRegionByPosition. Bad position requested: not the base of the region. Requested Pos=<{1},{2}>, Should Be=<{3},{4}>",
LogHeader, x, y, Util.RegionToWorldLoc(regionX), Util.RegionToWorldLoc(regionY));
}
*/
// First see if it's a neighbour, even if it isn't on this sim.
// Neighbour data is cached in memory, so this is fast