fix slow moving physical objects moving without sending updates

avinationmerge
UbitUmarov 2015-08-31 13:06:41 +01:00
parent c24f3b4f5e
commit 0900f9dd7f
1 changed files with 10 additions and 10 deletions

View File

@ -3588,17 +3588,17 @@ 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.Y = lpos.Y;
_position.Z = lpos.Z;
_orientation.X = ori.X;
_orientation.Y = ori.Y;
_orientation.Z = ori.Z;
_orientation.W = ori.W;
} }
_position.X = lpos.X;
_position.Y = lpos.Y;
_position.Z = lpos.Z;
_orientation.X = ori.X;
_orientation.Y = ori.Y;
_orientation.Z = ori.Z;
_orientation.W = ori.W;
if (_zeroFlag) if (_zeroFlag)
{ {
if (lastZeroFlag) if (lastZeroFlag)