diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 28 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 16 |
2 files changed, 0 insertions, 44 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 1f6d647..aa8b51a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2112,21 +2112,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2112 | appearance = new AvatarAppearance(); | 2112 | appearance = new AvatarAppearance(); |
2113 | } | 2113 | } |
2114 | 2114 | ||
2115 | //try | ||
2116 | //{ | ||
2117 | // if (m_AvatarFactory != null) | ||
2118 | // { | ||
2119 | // if (m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance)) | ||
2120 | // return; | ||
2121 | // } | ||
2122 | //} | ||
2123 | //catch (Exception e) | ||
2124 | //{ | ||
2125 | // m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}", | ||
2126 | // client.Name, e); | ||
2127 | //} | ||
2128 | |||
2129 | //m_log.Warn("[APPEARANCE]: Appearance not found, returning default"); | ||
2130 | } | 2115 | } |
2131 | 2116 | ||
2132 | /// <summary> | 2117 | /// <summary> |
@@ -2692,19 +2677,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2692 | } | 2677 | } |
2693 | } | 2678 | } |
2694 | 2679 | ||
2695 | /// <summary> | ||
2696 | /// Agent is crossing the border into a neighbouring region. Tell the neighbour about it! | ||
2697 | /// </summary> | ||
2698 | /// <param name="regionHandle"></param> | ||
2699 | /// <param name="agentID"></param> | ||
2700 | /// <param name="position"></param> | ||
2701 | /// <param name="isFlying"></param> | ||
2702 | /// <returns></returns> | ||
2703 | public bool InformNeighbourOfCrossing(ulong regionHandle, UUID agentID, Vector3 position, bool isFlying) | ||
2704 | { | ||
2705 | return m_sceneGridService.CrossToNeighbouringRegion(regionHandle, agentID, position, isFlying); | ||
2706 | } | ||
2707 | |||
2708 | public void CrossAgentToNewRegion(ScenePresence agent, bool isFlying) | 2680 | public void CrossAgentToNewRegion(ScenePresence agent, bool isFlying) |
2709 | { | 2681 | { |
2710 | m_sceneGridService.CrossAgentToNewRegion(this, agent, isFlying); | 2682 | m_sceneGridService.CrossAgentToNewRegion(this, agent, isFlying); |
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 8271829..9a6bd87 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -99,7 +99,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
99 | 99 | ||
100 | m_regionInfo = regionInfos; | 100 | m_regionInfo = regionInfos; |
101 | m_commsProvider.GridService.gdebugRegionName = regionInfos.RegionName; | 101 | m_commsProvider.GridService.gdebugRegionName = regionInfos.RegionName; |
102 | m_commsProvider.InterRegion.rdebugRegionName = regionInfos.RegionName; | ||
103 | regionCommsHost = m_commsProvider.GridService.RegisterRegion(m_regionInfo); | 102 | regionCommsHost = m_commsProvider.GridService.RegisterRegion(m_regionInfo); |
104 | 103 | ||
105 | if (regionCommsHost != null) | 104 | if (regionCommsHost != null) |
@@ -1017,16 +1016,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1017 | { | 1016 | { |
1018 | return previousNeighbours.FindAll(delegate(ulong handle) { return !currentNeighbours.Contains(handle); }); | 1017 | return previousNeighbours.FindAll(delegate(ulong handle) { return !currentNeighbours.Contains(handle); }); |
1019 | } | 1018 | } |
1020 | /// <summary> | ||
1021 | /// Inform a neighbouring region that an avatar is about to cross into it. | ||
1022 | /// </summary> | ||
1023 | /// <param name="regionhandle"></param> | ||
1024 | /// <param name="agentID"></param> | ||
1025 | /// <param name="position"></param> | ||
1026 | public bool CrossToNeighbouringRegion(ulong regionhandle, UUID agentID, Vector3 position, bool isFlying) | ||
1027 | { | ||
1028 | return m_commsProvider.InterRegion.ExpectAvatarCrossing(regionhandle, agentID, position, isFlying); | ||
1029 | } | ||
1030 | 1019 | ||
1031 | public void CrossAgentToNewRegion(Scene scene, ScenePresence agent, bool isFlying) | 1020 | public void CrossAgentToNewRegion(Scene scene, ScenePresence agent, bool isFlying) |
1032 | { | 1021 | { |
@@ -1205,11 +1194,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1205 | } | 1194 | } |
1206 | 1195 | ||
1207 | 1196 | ||
1208 | public bool PrimCrossToNeighboringRegion(ulong regionhandle, UUID primID, string objData, int XMLMethod) | ||
1209 | { | ||
1210 | return m_commsProvider.InterRegion.InformRegionOfPrimCrossing(regionhandle, primID, objData, XMLMethod); | ||
1211 | } | ||
1212 | |||
1213 | public Dictionary<string, string> GetGridSettings() | 1197 | public Dictionary<string, string> GetGridSettings() |
1214 | { | 1198 | { |
1215 | return m_commsProvider.GridService.GetGridSettings(); | 1199 | return m_commsProvider.GridService.GetGridSettings(); |