mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap )
This commit is contained in:
@@ -807,6 +807,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
foreach (avtocrossInfo avinfo in avsToCross)
|
||||
{
|
||||
ScenePresence av = avinfo.av;
|
||||
av.IsInLocalTransit = true;
|
||||
av.IsInTransit = true;
|
||||
m_log.DebugFormat("[SCENE OBJECT]: Crossing avatar {0} to {1}", av.Name, val);
|
||||
|
||||
|
||||
@@ -971,6 +971,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_inTransit = value;
|
||||
}
|
||||
}
|
||||
// this is is only valid if IsInTransit is true
|
||||
// only false on HG tps
|
||||
// used work arounf viewers asking source region about destination user
|
||||
public bool IsInLocalTransit {get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -1040,6 +1044,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_uuid = client.AgentId;
|
||||
LocalId = m_scene.AllocateLocalId();
|
||||
LegacySitOffsets = m_scene.LegacySitOffsets;
|
||||
IsInLocalTransit = true;
|
||||
|
||||
UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid);
|
||||
if (account != null)
|
||||
|
||||
Reference in New Issue
Block a user