aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-12-09 08:13:57 +0000
committerMelanie2011-12-09 08:13:57 +0000
commitd9133038755180da5378729985b2aca6dc33b425 (patch)
treef70530bacb9b22d6f2f20ec8dfa7e1dd9b755f2b /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'bigmerge' of ssh://melanie@3dhosting.de/var/git/careminster int... (diff)
parentRevert "Revert "Stop performing the asset save part of baked texture uploadin... (diff)
downloadopensim-SC-d9133038755180da5378729985b2aca6dc33b425.zip
opensim-SC-d9133038755180da5378729985b2aca6dc33b425.tar.gz
opensim-SC-d9133038755180da5378729985b2aca6dc33b425.tar.bz2
opensim-SC-d9133038755180da5378729985b2aca6dc33b425.tar.xz
Merge branch 'master' into bigmerge
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs15
1 files changed, 4 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a51fca2..684745f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2609,21 +2609,14 @@ namespace OpenSim.Region.Framework.Scenes
2609 2609
2610 #region Add/Remove Avatar Methods 2610 #region Add/Remove Avatar Methods
2611 2611
2612 /// <summary>
2613 /// Add a new client and create a child scene presence for it.
2614 /// </summary>
2615 /// <param name="client"></param>
2616 /// <param name="type">The type of agent to add.</param>
2617 public override ISceneAgent AddNewClient(IClientAPI client, PresenceType type) 2612 public override ISceneAgent AddNewClient(IClientAPI client, PresenceType type)
2618 { 2613 {
2614 // Validation occurs in LLUDPServer
2619 AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(client.CircuitCode); 2615 AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(client.CircuitCode);
2620 bool vialogin = false;
2621
2622 if (aCircuit == null) // no good, didn't pass NewUserConnection successfully
2623 return null;
2624 2616
2625 vialogin = (aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaHGLogin) != 0 || 2617 bool vialogin
2626 (aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0; 2618 = (aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaHGLogin) != 0
2619 || (aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0;
2627 2620
2628 CheckHeartbeat(); 2621 CheckHeartbeat();
2629 ScenePresence presence; 2622 ScenePresence presence;