timming issues on fast tp back to same region on new code

0.9.1.0-post-fixes
UbitUmarov 2019-03-27 02:04:11 +00:00
parent 5035de053a
commit 83fd05f131
2 changed files with 6 additions and 4 deletions

View File

@ -8931,9 +8931,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if(rsrpkt.AgentData.AgentID != m_agentId || rsrpkt.AgentData.SessionID != m_sessionId)
return false;
// regionHandSHake is a protocol message, but it is also seems to be the only way to update terrain textures
// in last case this should be ignored.
OnRegionHandShakeReply = null;
if(m_supportViewerCache)
m_viewerHandShakeFlags = rsrpkt.RegionInfo.Flags;
else

View File

@ -6797,7 +6797,12 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
GodController.HasMovedAway();
lock (m_completeMovementLock)
{
GodController.HasMovedAway();
SentInitialData = false;
}
List<ScenePresence> allpresences = m_scene.GetScenePresences();
foreach (ScenePresence p in allpresences)
{