mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
clip xy on parcels fake id, fix address compare, etc
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user