aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-11-25 02:51:11 -0500
committerTeravus Ovares (Dan Olivares)2009-11-25 02:51:11 -0500
commitabddb60b8d0aba7b68e2494957aedfec66a772cc (patch)
tree14766a57b0ba782cbe7d3f45f7c248c24f2b3dcf /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMake load/save iar slightly better in the face of io failures by always attem... (diff)
downloadopensim-SC-abddb60b8d0aba7b68e2494957aedfec66a772cc.zip
opensim-SC-abddb60b8d0aba7b68e2494957aedfec66a772cc.tar.gz
opensim-SC-abddb60b8d0aba7b68e2494957aedfec66a772cc.tar.bz2
opensim-SC-abddb60b8d0aba7b68e2494957aedfec66a772cc.tar.xz
* Attempt number 1 to stop the repeating crouch animation that sometimes happens.
* This tries to address it by correcting one potential bug where it never resets the falltimer. * This tries to address it by telling Physics that we're not flying this step.. instead of waiting until the next step when the next agent update comes along.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5604e3d..33717b1 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1445,7 +1445,10 @@ namespace OpenSim.Region.Framework.Scenes
1445 // nesting this check because LengthSquared() is expensive and we don't 1445 // nesting this check because LengthSquared() is expensive and we don't
1446 // want to do it every step when flying. 1446 // want to do it every step when flying.
1447 if ((Velocity.LengthSquared() <= LAND_VELOCITYMAG_MAX)) 1447 if ((Velocity.LengthSquared() <= LAND_VELOCITYMAG_MAX))
1448 {
1448 StopFlying(); 1449 StopFlying();
1450 m_physicsActor.Flying = false;
1451 }
1449 } 1452 }
1450 } 1453 }
1451 1454