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!0.6.2-post-fixes
parent
59cddd0844
commit
ba9d9a9019
|
@ -105,8 +105,8 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||||
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
||||||
{
|
{
|
||||||
List<SimpleRegionInfo> neighbours = m_remoteBackend.RequestNeighbours(x, y);
|
List<SimpleRegionInfo> neighbours = m_remoteBackend.RequestNeighbours(x, y);
|
||||||
List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
//List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||||
neighbours.AddRange(remotes);
|
//neighbours.AddRange(remotes);
|
||||||
|
|
||||||
return neighbours;
|
return neighbours;
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,8 +115,8 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||||
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
public override List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
|
||||||
{
|
{
|
||||||
List<SimpleRegionInfo> neighbours = m_localBackend.RequestNeighbours(x, y);
|
List<SimpleRegionInfo> neighbours = m_localBackend.RequestNeighbours(x, y);
|
||||||
List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
//List<SimpleRegionInfo> remotes = base.RequestNeighbours(x, y);
|
||||||
neighbours.AddRange(remotes);
|
//neighbours.AddRange(remotes);
|
||||||
|
|
||||||
return neighbours;
|
return neighbours;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue