aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2013-05-13 03:29:11 +0200
committerMelanie2013-05-13 03:29:11 +0200
commitf9daf921f72e9962546fe5cfcc45db3ace8f903c (patch)
treed868315600d549906c1f763a4ccc9042bf184d37 /OpenSim/Region
parentSmall adjustments to the floater module (diff)
downloadopensim-SC-f9daf921f72e9962546fe5cfcc45db3ace8f903c.zip
opensim-SC-f9daf921f72e9962546fe5cfcc45db3ace8f903c.tar.gz
opensim-SC-f9daf921f72e9962546fe5cfcc45db3ace8f903c.tar.bz2
opensim-SC-f9daf921f72e9962546fe5cfcc45db3ace8f903c.tar.xz
Explicitly zero avatar velocity on sit
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 98160c9..d5b7ec8 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5124,6 +5124,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5124 5124
5125 data.CollisionPlane.ToBytes(objectData, 0); 5125 data.CollisionPlane.ToBytes(objectData, 0);
5126 offsetPosition.ToBytes(objectData, 16); 5126 offsetPosition.ToBytes(objectData, 16);
5127 Vector3 velocity = new Vector3(0, 0, 0);
5128 Vector3 acceleration = new Vector3(0, 0, 0);
5129 velocity.ToBytes(objectData, 28);
5130 acceleration.ToBytes(objectData, 40);
5127// data.Velocity.ToBytes(objectData, 28); 5131// data.Velocity.ToBytes(objectData, 28);
5128// data.Acceleration.ToBytes(objectData, 40); 5132// data.Acceleration.ToBytes(objectData, 40);
5129 rotation.ToBytes(objectData, 52); 5133 rotation.ToBytes(objectData, 52);