clip xy on parcels fake id, fix address compare, etc

This commit is contained in:
UbitUmarov
2020-08-23 17:51:08 +01:00
parent e36619c9f5
commit efa5f253f2
5 changed files with 464 additions and 227 deletions

View File

@@ -148,6 +148,15 @@ namespace OpenSim.Region.CoreModules.World.Land
return obj;
}
public ILandObject GetLandObjectClipedXY(float x, float y)
{
if (m_landManagementModule != null)
{
return m_landManagementModule.GetLandObjectClipedXY(x, y);
}
return null;
}
public List<ILandObject> AllParcels()
{
if (m_landManagementModule != null)

View File

@@ -2146,7 +2146,7 @@ namespace OpenSim.Region.CoreModules.World.Land
// for this region or for somewhere else?
if (extLandData.RegionHandle == m_scene.RegionInfo.RegionHandle)
{
ILandObject extLandObject = GetLandObject(extLandData.X, extLandData.Y);
ILandObject extLandObject = GetLandObjectClipedXY(extLandData.X, extLandData.Y);
if (extLandObject == null)
break;