diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 187b6fa7c4..67c5e38830 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -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 diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 9a879f7ca7..63eb29fbcf 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -6797,7 +6797,12 @@ namespace OpenSim.Region.Framework.Scenes } else { - GodController.HasMovedAway(); + lock (m_completeMovementLock) + { + GodController.HasMovedAway(); + SentInitialData = false; + } + List allpresences = m_scene.GetScenePresences(); foreach (ScenePresence p in allpresences) {