From 0900f9dd7fb0d586427b84261787d3db504e19f6 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 31 Aug 2015 13:06:41 +0100 Subject: fix slow moving physical objects moving without sending updates --- OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Physics/UbitOdePlugin') diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index ebaa50f..b13f601 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs @@ -3588,17 +3588,17 @@ namespace OpenSim.Region.Physics.OdePlugin m_rotationalVelocity.Y = vel.Y; 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 (lastZeroFlag) -- cgit v1.1