diff options
author | Teravus Ovares | 2007-11-22 01:32:13 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-22 01:32:13 +0000 |
commit | e69c810486e63e8b4398c7b67e84d73154d2dfcf (patch) | |
tree | 21423ba1dfad709e85a52e455d2c65840bad21d2 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | Fixed bug that can lead to infinitive loops (diff) | |
download | opensim-SC-e69c810486e63e8b4398c7b67e84d73154d2dfcf.zip opensim-SC-e69c810486e63e8b4398c7b67e84d73154d2dfcf.tar.gz opensim-SC-e69c810486e63e8b4398c7b67e84d73154d2dfcf.tar.bz2 opensim-SC-e69c810486e63e8b4398c7b67e84d73154d2dfcf.tar.xz |
* Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index f62407d..7f762b6 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -186,7 +186,8 @@ namespace OpenSim.Region.ClientStack | |||
186 | if (OnAgentUpdate != null) | 186 | if (OnAgentUpdate != null) |
187 | { | 187 | { |
188 | AgentUpdatePacket agenUpdate = (AgentUpdatePacket) Pack; | 188 | AgentUpdatePacket agenUpdate = (AgentUpdatePacket) Pack; |
189 | OnAgentUpdate(this, agenUpdate.AgentData.ControlFlags, agenUpdate.AgentData.BodyRotation); | 189 | |
190 | OnAgentUpdate(this, agenUpdate); //agenUpdate.AgentData.ControlFlags, agenUpdate.AgentData.BodyRotationa); | ||
190 | } | 191 | } |
191 | break; | 192 | break; |
192 | case PacketType.AgentAnimation: | 193 | case PacketType.AgentAnimation: |