fire a extra terseupdate when stopping (like in loosing physics). In some

cases things seem not to stop
avinationmerge
UbitUmarov 2012-10-09 01:04:29 +01:00
parent 2e223c8ce2
commit 4c512ada58
1 changed files with 3 additions and 0 deletions

View File

@ -2401,6 +2401,9 @@ namespace OpenSim.Region.Physics.OdePlugin
_target_velocity = Vector3.Zero; _target_velocity = Vector3.Zero;
if (m_vehicle != null && m_vehicle.Type != Vehicle.TYPE_NONE) if (m_vehicle != null && m_vehicle.Type != Vehicle.TYPE_NONE)
m_vehicle.Stop(); m_vehicle.Stop();
_zeroFlag = false;
base.RequestPhysicsterseUpdate();
} }
if (Body != IntPtr.Zero) if (Body != IntPtr.Zero)