aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2017-06-09 23:27:33 +0100
committerUbitUmarov2017-06-09 23:27:33 +0100
commitbe975d1e89cbcb62f89cb7cb8367678a80cc47c6 (patch)
tree3edacaa93423d91af424c183097c56b09c8ab70a /OpenSim/Region/Framework
parentonly silent remove threads from watch list if they stopped ( ie still conside... (diff)
downloadopensim-SC-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.zip
opensim-SC-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.gz
opensim-SC-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.bz2
opensim-SC-be975d1e89cbcb62f89cb7cb8367678a80cc47c6.tar.xz
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 )
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 93c9b42..1695d9b 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -807,6 +807,7 @@ namespace OpenSim.Region.Framework.Scenes
807 foreach (avtocrossInfo avinfo in avsToCross) 807 foreach (avtocrossInfo avinfo in avsToCross)
808 { 808 {
809 ScenePresence av = avinfo.av; 809 ScenePresence av = avinfo.av;
810 av.IsInLocalTransit = true;
810 av.IsInTransit = true; 811 av.IsInTransit = true;
811 m_log.DebugFormat("[SCENE OBJECT]: Crossing avatar {0} to {1}", av.Name, val); 812 m_log.DebugFormat("[SCENE OBJECT]: Crossing avatar {0} to {1}", av.Name, val);
812 813
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)