From c48ddbfef162c758bd4759d4100f8d3e081b37a7 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 31 Dec 2010 15:53:31 +0100 Subject: Fix scoping for prim region crossings --- OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs') diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 8a309f1..4f8e205 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs @@ -1557,7 +1557,7 @@ namespace OpenSim.Region.CoreModules.World.Land // most likely still cached from building the extLandData entry uint x = 0, y = 0; Utils.LongToUInts(data.RegionHandle, out x, out y); - info = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); + info = m_scene.GridService.GetRegionByPosition(m_scene.RegionInfo.ScopeID, (int)x, (int)y); } // we need to transfer the fake parcelID, not the one in landData, so the viewer can match it to the landmark. m_log.DebugFormat("[LAND] got parcelinfo for parcel {0} in region {1}; sending...", -- cgit v1.1