aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorMelanie2013-02-25 18:26:59 +0100
committerMelanie2013-02-25 18:26:59 +0100
commitda2b59848461d0f309067762403f9143551bb5ba (patch)
treef000d817edc5c7e5c21fdf4817fdcf55225784c0 /OpenSim/Region/ClientStack/Linden/UDP
parentRevert "Output some additional data on Vivox connection errors", this logs pa... (diff)
downloadopensim-SC_OLD-da2b59848461d0f309067762403f9143551bb5ba.zip
opensim-SC_OLD-da2b59848461d0f309067762403f9143551bb5ba.tar.gz
opensim-SC_OLD-da2b59848461d0f309067762403f9143551bb5ba.tar.bz2
opensim-SC_OLD-da2b59848461d0f309067762403f9143551bb5ba.tar.xz
Make banking no longer break sit rotations. Fix spinning avatars.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs9
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