fire a extra terseupdate when stopping (like in loosing physics). In some
cases things seem not to stopavinationmerge
parent
2e223c8ce2
commit
4c512ada58
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue