diff options
Merge branch 'master' into bigmerge
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 15 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
3 files changed, 6 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs index 43cfd80..eda085f 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | |||
@@ -60,7 +60,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
60 | public int m_animTickJump; // ScenePresence has to see this to control +Z force | 60 | public int m_animTickJump; // ScenePresence has to see this to control +Z force |
61 | public bool m_jumping = false; | 61 | public bool m_jumping = false; |
62 | public float m_jumpVelocity = 0f; | 62 | public float m_jumpVelocity = 0f; |
63 | private int m_landing = 0; | 63 | // private int m_landing = 0; |
64 | public bool Falling | 64 | public bool Falling |
65 | { | 65 | { |
66 | get { return m_falling; } | 66 | get { return m_falling; } |
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; |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2748a75..21e3d3f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2397,8 +2397,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2397 | 2397 | ||
2398 | #region Overridden Methods | 2398 | #region Overridden Methods |
2399 | 2399 | ||
2400 | private bool sendingPrims = false; | ||
2401 | |||
2402 | public override void Update() | 2400 | public override void Update() |
2403 | { | 2401 | { |
2404 | const float ROTATION_TOLERANCE = 0.01f; | 2402 | const float ROTATION_TOLERANCE = 0.01f; |
@@ -2569,7 +2567,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2569 | } | 2567 | } |
2570 | 2568 | ||
2571 | // This agent just became root. We are going to tell everyone about it. The process of | 2569 | // This agent just became root. We are going to tell everyone about it. The process of |
2572 | // getting other avatars information was initiated in the constructor... don't do it | 2570 | // getting other avatars information was initiated elsewhere immediately after the child circuit connected... don't do it |
2573 | // again here... this comes after the cached appearance check because the avatars | 2571 | // again here... this comes after the cached appearance check because the avatars |
2574 | // appearance goes into the avatar update packet | 2572 | // appearance goes into the avatar update packet |
2575 | SendAvatarDataToAllAgents(); | 2573 | SendAvatarDataToAllAgents(); |