mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
change tp callback condition
This commit is contained in:
@@ -79,11 +79,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
if (!disposed)
|
||||
{
|
||||
disposed = true;
|
||||
if(m_bannedRegionCache != null)
|
||||
{
|
||||
m_bannedRegionCache.Dispose();
|
||||
m_bannedRegionCache = null;
|
||||
}
|
||||
m_bannedRegionCache?.Dispose();
|
||||
m_bannedRegionCache = null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1202,7 +1199,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
|
||||
agent.SenderWantsToWaitForRoot = true;
|
||||
|
||||
if(!sp.IsInLocalTransit || sp.RegionViewDistance == 0)
|
||||
if(OutSideViewRange)
|
||||
SetNewCallbackURL(agent, sp.Scene.RegionInfo);
|
||||
|
||||
// Reset the do not close flag. This must be done before the destination opens child connections (here
|
||||
|
||||
Reference in New Issue
Block a user