From 4c512ada58532f97baa7a356cec5a2e2720d7466 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 9 Oct 2012 01:04:29 +0100 Subject: [PATCH] fire a extra terseupdate when stopping (like in loosing physics). In some cases things seem not to stop --- OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index 535a4e2fb0..1beb7619ea 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs @@ -2401,6 +2401,9 @@ namespace OpenSim.Region.Physics.OdePlugin _target_velocity = Vector3.Zero; if (m_vehicle != null && m_vehicle.Type != Vehicle.TYPE_NONE) m_vehicle.Stop(); + + _zeroFlag = false; + base.RequestPhysicsterseUpdate(); } if (Body != IntPtr.Zero)