aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
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
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/Animation/ScenePresenceAnimator.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs15
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
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();