diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index e622e0c..138556f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -400,6 +400,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
400 | if (!UpdateAgent(reg, finalDestination, agent)) | 400 | if (!UpdateAgent(reg, finalDestination, agent)) |
401 | { | 401 | { |
402 | // Region doesn't take it | 402 | // Region doesn't take it |
403 | m_log.WarnFormat( | ||
404 | "[ENTITY TRANSFER MODULE]: UpdateAgent failed on teleport of {0} to {1}. Returning avatar to source region.", | ||
405 | sp.Name, finalDestination.RegionName); | ||
406 | |||
403 | Fail(sp, finalDestination); | 407 | Fail(sp, finalDestination); |
404 | return; | 408 | return; |
405 | } | 409 | } |
@@ -426,16 +430,18 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
426 | // that the client contacted the destination before we send the attachments and close things here. | 430 | // that the client contacted the destination before we send the attachments and close things here. |
427 | if (!WaitForCallback(sp.UUID)) | 431 | if (!WaitForCallback(sp.UUID)) |
428 | { | 432 | { |
429 | Fail(sp, finalDestination); | 433 | m_log.WarnFormat( |
434 | "[ENTITY TRANSFER MODULE]: Teleport of {0} to {1} failed due to no callback from destination region. Returning avatar to source region.", | ||
435 | sp.Name, finalDestination.RegionName); | ||
436 | |||
437 | Fail(sp, finalDestination); | ||
430 | return; | 438 | return; |
431 | } | 439 | } |
432 | 440 | ||
433 | |||
434 | // CrossAttachmentsIntoNewRegion is a synchronous call. We shouldn't need to wait after it | 441 | // CrossAttachmentsIntoNewRegion is a synchronous call. We shouldn't need to wait after it |
435 | CrossAttachmentsIntoNewRegion(finalDestination, sp, true); | 442 | CrossAttachmentsIntoNewRegion(finalDestination, sp, true); |
436 | 443 | ||
437 | // Well, this is it. The agent is over there. | 444 | // Well, this is it. The agent is over there. |
438 | |||
439 | KillEntity(sp.Scene, sp.LocalId); | 445 | KillEntity(sp.Scene, sp.LocalId); |
440 | 446 | ||
441 | // May need to logout or other cleanup | 447 | // May need to logout or other cleanup |