diff options
author | UbitUmarov | 2019-04-01 13:18:40 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-01 13:18:40 +0100 |
commit | 5dc7623e388827184e90220eceecdfd076d546a1 (patch) | |
tree | 6773e68bd251c2b006bb61c7aa251ed1c20d4f40 /OpenSim/Region | |
parent | fix tp set callback log message (diff) | |
download | opensim-SC-5dc7623e388827184e90220eceecdfd076d546a1.zip opensim-SC-5dc7623e388827184e90220eceecdfd076d546a1.tar.gz opensim-SC-5dc7623e388827184e90220eceecdfd076d546a1.tar.bz2 opensim-SC-5dc7623e388827184e90220eceecdfd076d546a1.tar.xz |
change avatar arrival at hg destination handling
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 831c359..01b4f10 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1190,12 +1190,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1190 | Thread.Sleep(250); | 1190 | Thread.Sleep(250); |
1191 | if(sp.IsDeleted) | 1191 | if(sp.IsDeleted) |
1192 | return; | 1192 | return; |
1193 | if(!sp.IsInTransit) | ||
1194 | break; | ||
1193 | } while (--count > 0); | 1195 | } while (--count > 0); |
1194 | 1196 | ||
1195 | if (!sp.IsDeleted) | 1197 | if (!sp.IsDeleted) |
1196 | { | 1198 | { |
1197 | m_log.DebugFormat( | 1199 | m_log.DebugFormat( |
1198 | "[ENTITY TRANSFER MODULE]: Closing agent {0} in {1} after teleport timeout", sp.Name, Scene.Name); | 1200 | "[ENTITY TRANSFER MODULE]: Closing agent {0} in {1} after teleport {2}", sp.Name, Scene.Name, sp.IsInTransit?"timeout":""); |
1199 | sp.Scene.CloseAgent(sp.UUID, false); | 1201 | sp.Scene.CloseAgent(sp.UUID, false); |
1200 | } | 1202 | } |
1201 | return; | 1203 | return; |
@@ -2460,7 +2462,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
2460 | if(sp == null || sp.IsDeleted || !sp.IsInTransit) | 2462 | if(sp == null || sp.IsDeleted || !sp.IsInTransit) |
2461 | return; | 2463 | return; |
2462 | 2464 | ||
2463 | Scene.CloseAgent(sp.UUID, false); | 2465 | //Scene.CloseAgent(sp.UUID, false); |
2466 | sp.IsInTransit = false; | ||
2464 | m_entityTransferStateMachine.ResetFromTransit(id); // this needs cleanup | 2467 | m_entityTransferStateMachine.ResetFromTransit(id); // this needs cleanup |
2465 | //m_entityTransferStateMachine.SetAgentArrivedAtDestination(id); | 2468 | //m_entityTransferStateMachine.SetAgentArrivedAtDestination(id); |
2466 | } | 2469 | } |