aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
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