diff options
author | Melanie | 2013-07-29 02:08:05 +0100 |
---|---|---|
committer | Melanie | 2013-07-29 02:08:05 +0100 |
commit | bf283208df4a6936de85b2746112bb568d9c9d25 (patch) | |
tree | dafe50ad8e55ac30c41f5e7ebd11992f2772c294 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Same issue. (diff) | |
download | opensim-SC-bf283208df4a6936de85b2746112bb568d9c9d25.zip opensim-SC-bf283208df4a6936de85b2746112bb568d9c9d25.tar.gz opensim-SC-bf283208df4a6936de85b2746112bb568d9c9d25.tar.bz2 opensim-SC-bf283208df4a6936de85b2746112bb568d9c9d25.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c78fe62..c4876b3 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -764,6 +764,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
764 | } | 764 | } |
765 | } | 765 | } |
766 | 766 | ||
767 | /// <summary> | ||
768 | /// Used by the entity transfer module to signal when the presence should not be closed because a subsequent | ||
769 | /// teleport is reusing the connection. | ||
770 | /// </summary> | ||
771 | /// <remarks>May be refactored or move somewhere else soon.</remarks> | ||
772 | public bool DoNotCloseAfterTeleport { get; set; } | ||
773 | |||
767 | private float m_speedModifier = 1.0f; | 774 | private float m_speedModifier = 1.0f; |
768 | 775 | ||
769 | public float SpeedModifier | 776 | public float SpeedModifier |
@@ -1541,11 +1548,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
1541 | client.Name, Scene.RegionInfo.RegionName, AbsolutePosition); | 1548 | client.Name, Scene.RegionInfo.RegionName, AbsolutePosition); |
1542 | 1549 | ||
1543 | // Make sure it's not a login agent. We don't want to wait for updates during login | 1550 | // Make sure it's not a login agent. We don't want to wait for updates during login |
1544 | if ((m_teleportFlags & TeleportFlags.ViaLogin) == 0) | 1551 | if (PresenceType != PresenceType.Npc && (m_teleportFlags & TeleportFlags.ViaLogin) == 0) |
1552 | { | ||
1545 | // Let's wait until UpdateAgent (called by departing region) is done | 1553 | // Let's wait until UpdateAgent (called by departing region) is done |
1546 | if (!WaitForUpdateAgent(client)) | 1554 | if (!WaitForUpdateAgent(client)) |
1547 | // The sending region never sent the UpdateAgent data, we have to refuse | 1555 | // The sending region never sent the UpdateAgent data, we have to refuse |
1548 | return; | 1556 | return; |
1557 | } | ||
1549 | 1558 | ||
1550 | Vector3 look = Velocity; | 1559 | Vector3 look = Velocity; |
1551 | 1560 | ||