diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 6b70922797..d21452febd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -12700,6 +12700,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private bool HandleUseCircuitCode(IClientAPI sender, Packet Pack) { + /* UseCircuitCodePacket uccp = (UseCircuitCodePacket)Pack; if(uccp.CircuitCode.ID == m_agentId && uccp.CircuitCode.SessionID == m_sessionId && @@ -12708,8 +12709,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP !((ScenePresence)SceneAgent).IsDeleted ) SendRegionHandshake(); // possible someone returning - + */ return true; + } private bool HandleCreateNewOutfitAttachments(IClientAPI sender, Packet Pack) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 6032681290..b105d52c5a 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -1725,7 +1725,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (client != null) { - client.SendRegionHandshake(); + if(aCircuit.teleportFlags <= 0) + client.SendRegionHandshake(); client.CheckViewerCaps(); } } diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 63eb29fbcf..2145fcdbac 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -2179,6 +2179,7 @@ namespace OpenSim.Region.Framework.Scenes } } // Tell the client that we're totally ready + ControllingClient.SendRegionHandshake(); ControllingClient.MoveAgentIntoRegion(m_scene.RegionInfo, AbsolutePosition, look); //m_log.DebugFormat("[CompleteMovement] MoveAgentIntoRegion: {0}ms", Util.EnvironmentTickCountSubtract(ts));