diff options
author | Melanie Thielker | 2014-08-27 11:25:17 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-08-27 11:25:17 +0200 |
commit | 012d0b07bc797db3d230337745bb543c33800855 (patch) | |
tree | 08e688f166939f459ffe3aca371c09a0fa6c126b /OpenSim/Region/CoreModules | |
parent | Merge branch 'ubitworkmaster' (diff) | |
parent | enqueue also if m_nextPackets[category] is not null. This is really the (diff) | |
download | opensim-SC_OLD-012d0b07bc797db3d230337745bb543c33800855.zip opensim-SC_OLD-012d0b07bc797db3d230337745bb543c33800855.tar.gz opensim-SC_OLD-012d0b07bc797db3d230337745bb543c33800855.tar.bz2 opensim-SC_OLD-012d0b07bc797db3d230337745bb543c33800855.tar.xz |
Merge branch 'ubitworkmaster'
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 37aae08..b3e556f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -986,7 +986,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
986 | // Well, this is it. The agent is over there. | 986 | // Well, this is it. The agent is over there. |
987 | // KillEntity(sp.Scene, sp.LocalId); | 987 | // KillEntity(sp.Scene, sp.LocalId); |
988 | 988 | ||
989 | sp.HasMovedAway(); | 989 | bool nearRegion = sp.KnownRegions.ContainsKey(destinationHandle); |
990 | sp.HasMovedAway(nearRegion); | ||
990 | 991 | ||
991 | // Now let's make it officially a child agent | 992 | // Now let's make it officially a child agent |
992 | sp.MakeChildAgent(); | 993 | sp.MakeChildAgent(); |
@@ -1141,7 +1142,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1141 | 1142 | ||
1142 | m_entityTransferStateMachine.UpdateInTransit(sp.UUID, AgentTransferState.CleaningUp); | 1143 | m_entityTransferStateMachine.UpdateInTransit(sp.UUID, AgentTransferState.CleaningUp); |
1143 | 1144 | ||
1144 | sp.HasMovedAway(); | 1145 | bool nearRegion = sp.KnownRegions.ContainsKey(destinationHandle); |
1146 | sp.HasMovedAway(nearRegion); | ||
1145 | 1147 | ||
1146 | // Need to signal neighbours whether child agents may need closing irrespective of whether this | 1148 | // Need to signal neighbours whether child agents may need closing irrespective of whether this |
1147 | // one needed closing. We also need to close child agents as quickly as possible to avoid complicated | 1149 | // one needed closing. We also need to close child agents as quickly as possible to avoid complicated |
@@ -1784,9 +1786,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1784 | m_entityTransferStateMachine.UpdateInTransit(agent.UUID, AgentTransferState.CleaningUp); | 1786 | m_entityTransferStateMachine.UpdateInTransit(agent.UUID, AgentTransferState.CleaningUp); |
1785 | 1787 | ||
1786 | // this may need the attachments | 1788 | // this may need the attachments |
1787 | agent.parcelRegionCross(); | ||
1788 | 1789 | ||
1789 | AgentHasMovedAway(agent, true); | 1790 | agent.HasMovedAway(true); |
1791 | // agent.parcelRegionCross(); | ||
1792 | |||
1793 | // AgentHasMovedAway(agent, true); | ||
1790 | 1794 | ||
1791 | agent.MakeChildAgent(); | 1795 | agent.MakeChildAgent(); |
1792 | 1796 | ||