aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-26 01:06:18 +0000
committerTeravus Ovares2007-12-26 01:06:18 +0000
commit98f4a568ad0115b479d4d508a53af81c7c29816f (patch)
treef8f2d89e63ff927361843ec0d166dc9702c111b5 /OpenSim/Region/Environment/Scenes
parent* Added the ability to land automatically on prim by pressing the page down b... (diff)
downloadopensim-SC_OLD-98f4a568ad0115b479d4d508a53af81c7c29816f.zip
opensim-SC_OLD-98f4a568ad0115b479d4d508a53af81c7c29816f.tar.gz
opensim-SC_OLD-98f4a568ad0115b479d4d508a53af81c7c29816f.tar.bz2
opensim-SC_OLD-98f4a568ad0115b479d4d508a53af81c7c29816f.tar.xz
* Removed a debug message I left in there
* Added a few more comments.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-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 }