diff options
author | Justin Clark-Casey (justincc) | 2013-11-27 02:08:22 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-27 02:08:22 +0000 |
commit | 0785210e29c75b09084321dca0569c9e4b73f858 (patch) | |
tree | 2ed2c7661b66b7c3bc50f76db9950621fcfef233 /OpenSim/Region/ClientStack/Linden | |
parent | Only translate linked prim specified offset pos by the link prim rotation, no... (diff) | |
download | opensim-SC_OLD-0785210e29c75b09084321dca0569c9e4b73f858.zip opensim-SC_OLD-0785210e29c75b09084321dca0569c9e4b73f858.tar.gz opensim-SC_OLD-0785210e29c75b09084321dca0569c9e4b73f858.tar.bz2 opensim-SC_OLD-0785210e29c75b09084321dca0569c9e4b73f858.tar.xz |
Fix stand positions rather than having the stand jump to the root prim.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1ac9d7f..c1aae3f 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5076,6 +5076,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5076 | { | 5076 | { |
5077 | ScenePresence presence = (ScenePresence)entity; | 5077 | ScenePresence presence = (ScenePresence)entity; |
5078 | 5078 | ||
5079 | // m_log.DebugFormat( | ||
5080 | // "[LLCLIENTVIEW]: Sending terse update to {0} with position {1} in {2}", Name, presence.OffsetPosition, m_scene.Name); | ||
5081 | |||
5079 | attachPoint = presence.State; | 5082 | attachPoint = presence.State; |
5080 | collisionPlane = presence.CollisionPlane; | 5083 | collisionPlane = presence.CollisionPlane; |
5081 | position = presence.OffsetPosition; | 5084 | position = presence.OffsetPosition; |
@@ -5195,6 +5198,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5195 | 5198 | ||
5196 | protected ObjectUpdatePacket.ObjectDataBlock CreateAvatarUpdateBlock(ScenePresence data) | 5199 | protected ObjectUpdatePacket.ObjectDataBlock CreateAvatarUpdateBlock(ScenePresence data) |
5197 | { | 5200 | { |
5201 | // m_log.DebugFormat( | ||
5202 | // "[LLCLIENTVIEW]: Sending full update to {0} with position {1} in {2}", Name, data.OffsetPosition, m_scene.Name); | ||
5203 | |||
5198 | byte[] objectData = new byte[76]; | 5204 | byte[] objectData = new byte[76]; |
5199 | 5205 | ||
5200 | data.CollisionPlane.ToBytes(objectData, 0); | 5206 | data.CollisionPlane.ToBytes(objectData, 0); |
@@ -12646,6 +12652,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12646 | { | 12652 | { |
12647 | if (p is ScenePresence) | 12653 | if (p is ScenePresence) |
12648 | { | 12654 | { |
12655 | // m_log.DebugFormat( | ||
12656 | // "[LLCLIENTVIEW]: Immediately sending terse agent update for {0} to {1} in {2}", | ||
12657 | // p.Name, Name, Scene.Name); | ||
12658 | |||
12649 | // It turns out to get the agent to stop flying, you have to feed it stop flying velocities | 12659 | // It turns out to get the agent to stop flying, you have to feed it stop flying velocities |
12650 | // There's no explicit message to send the client to tell it to stop flying.. it relies on the | 12660 | // There's no explicit message to send the client to tell it to stop flying.. it relies on the |
12651 | // velocity, collision plane and avatar height | 12661 | // velocity, collision plane and avatar height |