diff options
author | Diva Canto | 2013-05-14 08:12:01 -0700 |
---|---|---|
committer | Diva Canto | 2013-05-14 08:12:01 -0700 |
commit | f32a21d96707f87ecbdaf42c0059f8494a119d31 (patch) | |
tree | 9708d84dda591cb8ae72df494b97971497a06f63 /OpenSim/Region/Framework/Scenes | |
parent | Fixed mantis #6609 -- LoadPlugin error messages on Robust. (diff) | |
download | opensim-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/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |