mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Minor fix for HG request neighbors. Should not return hyperlink neighbors, only neighbors on the same grid. I'm still not sure if this is a bug or a feature, so this may change again.
My first commit of 2009 -- Happy New Year!
This commit is contained in:
@@ -105,8 +105,8 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
||||
{
|
||||
List<SimpleRegionInfo> neighbours = m_remoteBackend.RequestNeighbours(x, y);
|
||||
List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||
neighbours.AddRange(remotes);
|
||||
//List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||
//neighbours.AddRange(remotes);
|
||||
|
||||
return neighbours;
|
||||
}
|
||||
|
||||
@@ -115,8 +115,8 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
||||
{
|
||||
List<SimpleRegionInfo> neighbours = m_localBackend.RequestNeighbours(x, y);
|
||||
List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||
neighbours.AddRange(remotes);
|
||||
//List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||
//neighbours.AddRange(remotes);
|
||||
|
||||
return neighbours;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user