fix slow moving physical objects moving without sending updates
parent
c24f3b4f5e
commit
0900f9dd7f
|
@ -3588,7 +3588,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
m_rotationalVelocity.Y = vel.Y;
|
m_rotationalVelocity.Y = vel.Y;
|
||||||
m_rotationalVelocity.Z = vel.Z;
|
m_rotationalVelocity.Z = vel.Z;
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
|
|
||||||
_position.X = lpos.X;
|
_position.X = lpos.X;
|
||||||
_position.Y = lpos.Y;
|
_position.Y = lpos.Y;
|
||||||
|
@ -3598,7 +3598,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
_orientation.Y = ori.Y;
|
_orientation.Y = ori.Y;
|
||||||
_orientation.Z = ori.Z;
|
_orientation.Z = ori.Z;
|
||||||
_orientation.W = ori.W;
|
_orientation.W = ori.W;
|
||||||
|
}
|
||||||
if (_zeroFlag)
|
if (_zeroFlag)
|
||||||
{
|
{
|
||||||
if (lastZeroFlag)
|
if (lastZeroFlag)
|
||||||
|
|
Loading…
Reference in New Issue