diff options
author | Justin Clark-Casey (justincc) | 2013-05-14 19:45:35 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-05-14 19:45:35 +0100 |
commit | ce979552fd53e50e939e1f09cd00e75440e458bb (patch) | |
tree | f218cfec9c21515439ca0d8a639d1801378aa4e2 /OpenSim | |
parent | Comment out some debugging item permission messages since these are highly no... (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-ce979552fd53e50e939e1f09cd00e75440e458bb.zip opensim-SC-ce979552fd53e50e939e1f09cd00e75440e458bb.tar.gz opensim-SC-ce979552fd53e50e939e1f09cd00e75440e458bb.tar.bz2 opensim-SC-ce979552fd53e50e939e1f09cd00e75440e458bb.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 985aa4d..8eb2e06 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1373,7 +1373,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1373 | 1373 | ||
1374 | // We only want to send initial data to new clients, not ones which are being converted from child to root. | 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) | 1375 | if (client != null) |
1376 | client.SceneAgent.SendInitialDataToMe(); | 1376 | { |
1377 | AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(uccp.CircuitCode.Code); | ||
1378 | bool tp = (aCircuit.teleportFlags > 0); | ||
1379 | // Let's delay this for TP agents, otherwise the viewer doesn't know where to get meshes from | ||
1380 | if (!tp) | ||
1381 | client.SceneAgent.SendInitialDataToMe(); | ||
1382 | } | ||
1377 | } | 1383 | } |
1378 | else | 1384 | else |
1379 | { | 1385 | { |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 215a689..2a265db 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1348,6 +1348,7 @@ 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(); | ||
1351 | IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); | 1352 | IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); |
1352 | if (m_agentTransfer != null) | 1353 | if (m_agentTransfer != null) |
1353 | Util.FireAndForget(delegate { m_agentTransfer.EnableChildAgents(this); }); | 1354 | Util.FireAndForget(delegate { m_agentTransfer.EnableChildAgents(this); }); |