aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorDiva Canto2013-05-14 08:12:01 -0700
committerDiva Canto2013-05-14 08:12:01 -0700
commitf32a21d96707f87ecbdaf42c0059f8494a119d31 (patch)
tree9708d84dda591cb8ae72df494b97971497a06f63 /OpenSim/Region
parentFixed mantis #6609 -- LoadPlugin error messages on Robust. (diff)
downloadopensim-SC_OLD-f32a21d96707f87ecbdaf42c0059f8494a119d31.zip
opensim-SC_OLD-f32a21d96707f87ecbdaf42c0059f8494a119d31.tar.gz
opensim-SC_OLD-f32a21d96707f87ecbdaf42c0059f8494a119d31.tar.bz2
opensim-SC_OLD-f32a21d96707f87ecbdaf42c0059f8494a119d31.tar.xz
HGTP-mesh bug: the mesh download requests were going to the departing sims for a little while. This was also true for local TPs. BUt for local TPs the assets are on the same server, so it doesn't matter. For HGTPs, it matters. This potential fix moves sending the initial data to later, after the client has completed the movement into the region. Fingers crossed that it doesn't mess other things up!
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs3
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 985aa4d..0fa1c0e 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1371,9 +1371,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1371 // circuit code to the existing child agent. This is not particularly obvious. 1371 // circuit code to the existing child agent. This is not particularly obvious.
1372 SendAckImmediate(endPoint, uccp.Header.Sequence); 1372 SendAckImmediate(endPoint, uccp.Header.Sequence);
1373 1373
1374 // We only want to send initial data to new clients, not ones which are being converted from child to root.
1375 if (client != null)
1376 client.SceneAgent.SendInitialDataToMe();
1377 } 1374 }
1378 else 1375 else
1379 { 1376 {
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 215a689..be78bd0 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1348,6 +1348,8 @@ namespace OpenSim.Region.Framework.Scenes
1348 // Create child agents in neighbouring regions 1348 // Create child agents in neighbouring regions
1349 if (openChildAgents && !IsChildAgent) 1349 if (openChildAgents && !IsChildAgent)
1350 { 1350 {
1351 SendInitialDataToMe();
1352
1351 IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); 1353 IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>();
1352 if (m_agentTransfer != null) 1354 if (m_agentTransfer != null)
1353 Util.FireAndForget(delegate { m_agentTransfer.EnableChildAgents(this); }); 1355 Util.FireAndForget(delegate { m_agentTransfer.EnableChildAgents(this); });
@@ -1355,6 +1357,7 @@ namespace OpenSim.Region.Framework.Scenes
1355 IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>(); 1357 IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>();
1356 if (friendsModule != null) 1358 if (friendsModule != null)
1357 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); 1359 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
1360
1358 } 1361 }
1359 1362
1360 // XXX: If we force an update here, then multiple attachments do appear correctly on a destination region 1363 // XXX: If we force an update here, then multiple attachments do appear correctly on a destination region