diff options
-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 |