diff options
author | UbitUmarov | 2012-10-09 01:04:29 +0100 |
---|---|---|
committer | UbitUmarov | 2012-10-09 01:04:29 +0100 |
commit | 4c512ada58532f97baa7a356cec5a2e2720d7466 (patch) | |
tree | d56d2b8a677eb502a4fa1451f22cab6b01b469db /OpenSim | |
parent | Change ray to land colision range limitation so it has no impact on other (diff) | |
download | opensim-SC-4c512ada58532f97baa7a356cec5a2e2720d7466.zip opensim-SC-4c512ada58532f97baa7a356cec5a2e2720d7466.tar.gz opensim-SC-4c512ada58532f97baa7a356cec5a2e2720d7466.tar.bz2 opensim-SC-4c512ada58532f97baa7a356cec5a2e2720d7466.tar.xz |
fire a extra terseupdate when stopping (like in loosing physics). In some
cases things seem not to stop
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index 535a4e2..1beb761 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -2401,6 +2401,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2401 | _target_velocity = Vector3.Zero; | 2401 | _target_velocity = Vector3.Zero; |
2402 | if (m_vehicle != null && m_vehicle.Type != Vehicle.TYPE_NONE) | 2402 | if (m_vehicle != null && m_vehicle.Type != Vehicle.TYPE_NONE) |
2403 | m_vehicle.Stop(); | 2403 | m_vehicle.Stop(); |
2404 | |||
2405 | _zeroFlag = false; | ||
2406 | base.RequestPhysicsterseUpdate(); | ||
2404 | } | 2407 | } |
2405 | 2408 | ||
2406 | if (Body != IntPtr.Zero) | 2409 | if (Body != IntPtr.Zero) |