aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 5874aab..5570136 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -533,7 +533,13 @@ namespace OpenSim.Region.Environment.Scenes
533 } 533 }
534 public void StopFlying() 534 public void StopFlying()
535 { 535 {
536 MainLog.Instance.Verbose("AGENT","VEL:" + Velocity.ToString()); 536 // It turns out to get the agent to stop flying, you have to feed it stop flying velocities
537 // and send a full object update.
538 // There's no message to send the client to tell it to stop flying
539
540 // Add 1/2 the avatar's height to it's position so it doesn't shoot into the air
541 // when the avatar stands up
542
537 AbsolutePosition = AbsolutePosition + new LLVector3(0, 0, (m_avHeight/2)); 543 AbsolutePosition = AbsolutePosition + new LLVector3(0, 0, (m_avHeight/2));
538 SendFullUpdateToAllClients(); 544 SendFullUpdateToAllClients();
539 } 545 }