aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-06 17:36:46 +0300
committerOren Hurvitz2014-04-06 15:42:33 +0100
commitf3508649f5eceb9f8862a7f377591a378f044aa7 (patch)
tree3fa686386e110dfa0cf44ecab7df2a087b1819dc /OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
parentWhen preparing a Hypergrid teleport, tell the receiving grid which user is en... (diff)
downloadopensim-SC_OLD-f3508649f5eceb9f8862a7f377591a378f044aa7.zip
opensim-SC_OLD-f3508649f5eceb9f8862a7f377591a378f044aa7.tar.gz
opensim-SC_OLD-f3508649f5eceb9f8862a7f377591a378f044aa7.tar.bz2
opensim-SC_OLD-f3508649f5eceb9f8862a7f377591a378f044aa7.tar.xz
Fixed: during a teleport we always sent the error "The teleport destination could not be found" to the client. This happened on both success and failure.
On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 3040a88..4ecb8e6 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -666,7 +666,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
666 m_log.DebugFormat( 666 m_log.DebugFormat(
667 "[ENTITY TRANSFER MODULE]: Ignoring teleport request of {0} {1} to {2} ({3}) {4}/{5} - agent is already in transit.", 667 "[ENTITY TRANSFER MODULE]: Ignoring teleport request of {0} {1} to {2} ({3}) {4}/{5} - agent is already in transit.",
668 sp.Name, sp.UUID, reg.ServerURI, finalDestination.ServerURI, finalDestination.RegionName, position); 668 sp.Name, sp.UUID, reg.ServerURI, finalDestination.ServerURI, finalDestination.RegionName, position);
669 669 sp.ControllingClient.SendTeleportFailed("Agent is already in transit.");
670 return; 670 return;
671 } 671 }
672 672