diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index daa9e50..47af3b8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -971,6 +971,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
971 | m_inTransit = value; | 971 | m_inTransit = value; |
972 | } | 972 | } |
973 | } | 973 | } |
974 | // this is is only valid if IsInTransit is true | ||
975 | // only false on HG tps | ||
976 | // used work arounf viewers asking source region about destination user | ||
977 | public bool IsInLocalTransit {get; set; } | ||
974 | 978 | ||
975 | 979 | ||
976 | /// <summary> | 980 | /// <summary> |
@@ -1040,6 +1044,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1040 | m_uuid = client.AgentId; | 1044 | m_uuid = client.AgentId; |
1041 | LocalId = m_scene.AllocateLocalId(); | 1045 | LocalId = m_scene.AllocateLocalId(); |
1042 | LegacySitOffsets = m_scene.LegacySitOffsets; | 1046 | LegacySitOffsets = m_scene.LegacySitOffsets; |
1047 | IsInLocalTransit = true; | ||
1043 | 1048 | ||
1044 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid); | 1049 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid); |
1045 | if (account != null) | 1050 | if (account != null) |