Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions.

0.6.1-post-fixes
diva 2008-12-15 22:17:40 +00:00
parent 1110ee877f
commit 223b6f63af
2 changed files with 3 additions and 3 deletions

View File

@ -121,9 +121,9 @@ namespace OpenSim.Region.Communications.Hypergrid
public override RegionInfo RequestNeighbourInfo(ulong regionHandle)
{
RegionInfo info = m_remoteBackend.RequestNeighbourInfo(regionHandle);
RegionInfo info = base.RequestNeighbourInfo(regionHandle);
if (info == null)
info = base.RequestNeighbourInfo(regionHandle);
info = m_remoteBackend.RequestNeighbourInfo(regionHandle);
return info;
}

View File

@ -283,7 +283,7 @@ namespace OpenSim.Region.Environment.Scenes.Hypergrid
// if (teleport success) // seems to be always success here
// the user may change their profile information in other region,
// so the userinfo in UserProfileCache is not reliable any more, delete it
if (avatar.Scene.NeedSceneCacheClear(avatar.UUID))
if (avatar.Scene.NeedSceneCacheClear(avatar.UUID) || isHyperLink)
{
m_commsProvider.UserProfileCacheService.RemoveUser(avatar.UUID);
m_log.InfoFormat("[HGSceneCommService]: User {0} is going to another region, profile cache removed", avatar.UUID);