aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
authorUbitUmarov2014-08-12 22:36:17 +0100
committerUbitUmarov2014-08-12 22:36:17 +0100
commitf811efde852e921d6deb82b45b31629bdd04ab11 (patch)
tree621c80772c78d4aeaa6ce1c11bdccf2c6965d0ca /OpenSim/Region/ClientStack/Linden
parentno need to go from cos into squared sin when just abs of cos is as good (diff)
downloadopensim-SC-f811efde852e921d6deb82b45b31629bdd04ab11.zip
opensim-SC-f811efde852e921d6deb82b45b31629bdd04ab11.tar.gz
opensim-SC-f811efde852e921d6deb82b45b31629bdd04ab11.tar.bz2
opensim-SC-f811efde852e921d6deb82b45b31629bdd04ab11.tar.xz
do the significance test invalidation at MoveAgentToRegion
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 0b82ce9..f5bb70b 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -856,6 +856,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
856 856
857 public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) 857 public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
858 { 858 {
859 m_thisAgentUpdateArgs.CameraAtAxis.X = float.MinValue;
860 m_thisAgentUpdateArgs.ControlFlags = uint.MaxValue;
861
859 AgentMovementCompletePacket mov = (AgentMovementCompletePacket)PacketPool.Instance.GetPacket(PacketType.AgentMovementComplete); 862 AgentMovementCompletePacket mov = (AgentMovementCompletePacket)PacketPool.Instance.GetPacket(PacketType.AgentMovementComplete);
860 mov.SimData.ChannelVersion = m_channelVersion; 863 mov.SimData.ChannelVersion = m_channelVersion;
861 mov.AgentData.SessionID = m_sessionId; 864 mov.AgentData.SessionID = m_sessionId;
@@ -6753,10 +6756,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6753 6756
6754 private bool HandleCompleteAgentMovement(IClientAPI sender, Packet Pack) 6757 private bool HandleCompleteAgentMovement(IClientAPI sender, Packet Pack)
6755 { 6758 {
6756
6757 m_thisAgentUpdateArgs.CameraAtAxis.X = float.MinValue;
6758 m_thisAgentUpdateArgs.ControlFlags = uint.MaxValue;
6759
6760 Action<IClientAPI, bool> handlerCompleteMovementToRegion = OnCompleteMovementToRegion; 6759 Action<IClientAPI, bool> handlerCompleteMovementToRegion = OnCompleteMovementToRegion;
6761 if (handlerCompleteMovementToRegion != null) 6760 if (handlerCompleteMovementToRegion != null)
6762 { 6761 {