Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions.
parent
1110ee877f
commit
223b6f63af
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue