Allow setting the EntityTransfer-max_distance to 0 to override distance checks. This is to facilitate current viewer work fixing the distance limitations for teleporting.
parent
10152815ac
commit
560ea54c98
|
@ -518,6 +518,9 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
|||
/// </returns>
|
||||
private bool IsWithinMaxTeleportDistance(RegionInfo sourceRegion, GridRegion destRegion)
|
||||
{
|
||||
if(MaxTransferDistance == 0)
|
||||
return true;
|
||||
|
||||
// m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Source co-ords are x={0} y={1}", curRegionX, curRegionY);
|
||||
//
|
||||
// m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Final dest is x={0} y={1} {2}@{3}",
|
||||
|
|
|
@ -653,7 +653,8 @@
|
|||
|
||||
[EntityTransfer]
|
||||
; The maximum distance in regions that an agent is allowed to teleport along the x or y axis
|
||||
; This is set to 4095 because current viewers can't handle teleports that are greater than this distance
|
||||
; This is set to 4095 by default because viewers released before September 2013 can't handle teleports that are greater than this distance
|
||||
; Setting to 0 will allow teleports of any distance
|
||||
max_distance = 4095
|
||||
|
||||
; Minimum user level required for HyperGrid teleports
|
||||
|
|
Loading…
Reference in New Issue