diff options
author | UbitUmarov | 2012-04-27 01:43:27 +0100 |
---|---|---|
committer | UbitUmarov | 2012-04-27 01:43:27 +0100 |
commit | a64a9e48de5226da055b0196125c8f576c462a80 (patch) | |
tree | 138242c124b81d7b3ed1309c4e9b488eee1c3c0c /OpenSim/Region/Framework/Scenes | |
parent | TEST more changes (diff) | |
download | opensim-SC-a64a9e48de5226da055b0196125c8f576c462a80.zip opensim-SC-a64a9e48de5226da055b0196125c8f576c462a80.tar.gz opensim-SC-a64a9e48de5226da055b0196125c8f576c462a80.tar.bz2 opensim-SC-a64a9e48de5226da055b0196125c8f576c462a80.tar.xz |
TESTING
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6ef0c4e..e9ff07a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1111,15 +1111,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
1111 | 1111 | ||
1112 | if (v.HasValue) | 1112 | if (v.HasValue) |
1113 | { | 1113 | { |
1114 | if (PhysicsActor != null) // speedup | 1114 | if (PhysicsActor != null) |
1115 | PhysicsActor.SetMomentum((Vector3)v); | 1115 | PhysicsActor.SetMomentum((Vector3)v); |
1116 | Velocity = (Vector3)v; | 1116 | m_velocity = (Vector3)v; |
1117 | } | 1117 | } |
1118 | else if (Stopit) | 1118 | else if (Stopit) |
1119 | { | 1119 | { |
1120 | if (PhysicsActor != null) // speedup | 1120 | if (PhysicsActor != null) |
1121 | PhysicsActor.SetMomentum(Vector3.Zero); | 1121 | PhysicsActor.SetMomentum(Vector3.Zero); |
1122 | Velocity = Vector3.Zero; // zero any velocity request | 1122 | m_velocity = Vector3.Zero; |
1123 | } | 1123 | } |
1124 | 1124 | ||
1125 | SendTerseUpdateToAllClients(); | 1125 | SendTerseUpdateToAllClients(); |