diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index d326941..84ca52d 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1746,6 +1746,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1746 | capsPath); | 1746 | capsPath); |
1747 | } | 1747 | } |
1748 | 1748 | ||
1749 | // Backwards compatibility. Best effort | ||
1750 | if (version == "Unknown" || version == string.Empty) | ||
1751 | { | ||
1752 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: neighbor with old version, passing attachments one by one..."); | ||
1753 | Thread.Sleep(3000); // wait a little now that we're not waiting for the callback | ||
1754 | CrossAttachmentsIntoNewRegion(neighbourRegion, agent, true); | ||
1755 | } | ||
1756 | |||
1749 | // SUCCESS! | 1757 | // SUCCESS! |
1750 | m_entityTransferStateMachine.UpdateInTransit(agent.UUID, AgentTransferState.ReceivedAtDestination); | 1758 | m_entityTransferStateMachine.UpdateInTransit(agent.UUID, AgentTransferState.ReceivedAtDestination); |
1751 | 1759 | ||
@@ -1768,13 +1776,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1768 | // agent.SendOtherAgentsAppearanceToMe(); | 1776 | // agent.SendOtherAgentsAppearanceToMe(); |
1769 | 1777 | ||
1770 | 1778 | ||
1771 | // Backwards compatibility. Best effort | ||
1772 | if (version == "Unknown" || version == string.Empty) | ||
1773 | { | ||
1774 | m_log.DebugFormat("[ENTITY TRANSFER MODULE]: neighbor with old version, passing attachments one by one..."); | ||
1775 | Thread.Sleep(3000); // wait a little now that we're not waiting for the callback | ||
1776 | CrossAttachmentsIntoNewRegion(neighbourRegion, agent, true); | ||
1777 | } | ||
1778 | 1779 | ||
1779 | // Next, let's close the child agent connections that are too far away. | 1780 | // Next, let's close the child agent connections that are too far away. |
1780 | uint neighbourx; | 1781 | uint neighbourx; |