diff options
author | Melanie | 2013-02-25 18:26:59 +0100 |
---|---|---|
committer | Melanie | 2013-02-25 18:26:59 +0100 |
commit | da2b59848461d0f309067762403f9143551bb5ba (patch) | |
tree | f000d817edc5c7e5c21fdf4817fdcf55225784c0 | |
parent | Revert "Output some additional data on Vivox connection errors", this logs pa... (diff) | |
download | opensim-SC-da2b59848461d0f309067762403f9143551bb5ba.zip opensim-SC-da2b59848461d0f309067762403f9143551bb5ba.tar.gz opensim-SC-da2b59848461d0f309067762403f9143551bb5ba.tar.bz2 opensim-SC-da2b59848461d0f309067762403f9143551bb5ba.tar.xz |
Make banking no longer break sit rotations. Fix spinning avatars.
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 0267805..0388828 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4960,6 +4960,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4960 | position = part.OffsetPosition + presence.OffsetPosition * part.RotationOffset; | 4960 | position = part.OffsetPosition + presence.OffsetPosition * part.RotationOffset; |
4961 | rotation = part.RotationOffset * presence.Rotation; | 4961 | rotation = part.RotationOffset * presence.Rotation; |
4962 | } | 4962 | } |
4963 | angularVelocity = Vector3.Zero; | ||
4964 | } | ||
4965 | else | ||
4966 | { | ||
4967 | angularVelocity = presence.AngularVelocity; | ||
4968 | rotation = presence.Rotation; | ||
4963 | } | 4969 | } |
4964 | 4970 | ||
4965 | attachPoint = 0; | 4971 | attachPoint = 0; |
@@ -4972,9 +4978,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4972 | // may improve movement smoothness. | 4978 | // may improve movement smoothness. |
4973 | // acceleration = new Vector3(1, 0, 0); | 4979 | // acceleration = new Vector3(1, 0, 0); |
4974 | 4980 | ||
4975 | angularVelocity = presence.AngularVelocity; | ||
4976 | rotation = presence.Rotation; | ||
4977 | |||
4978 | if (sendTexture) | 4981 | if (sendTexture) |
4979 | textureEntry = presence.Appearance.Texture.GetBytes(); | 4982 | textureEntry = presence.Appearance.Texture.GetBytes(); |
4980 | else | 4983 | else |