diff options
author | UbitUmarov | 2015-08-31 13:06:41 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-31 13:06:41 +0100 |
commit | 0900f9dd7fb0d586427b84261787d3db504e19f6 (patch) | |
tree | 64b8a859b88bf0a84d0c65d25f7254f3c692292f /OpenSim/Region | |
parent | minor changes (diff) | |
download | opensim-SC-0900f9dd7fb0d586427b84261787d3db504e19f6.zip opensim-SC-0900f9dd7fb0d586427b84261787d3db504e19f6.tar.gz opensim-SC-0900f9dd7fb0d586427b84261787d3db504e19f6.tar.bz2 opensim-SC-0900f9dd7fb0d586427b84261787d3db504e19f6.tar.xz |
fix slow moving physical objects moving without sending updates
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 18 |
1 files changed, 9 insertions, 9 deletions
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 | |||
3588 | m_rotationalVelocity.Y = vel.Y; | 3588 | m_rotationalVelocity.Y = vel.Y; |
3589 | m_rotationalVelocity.Z = vel.Z; | 3589 | m_rotationalVelocity.Z = vel.Z; |
3590 | } | 3590 | } |
3591 | } | 3591 | // } |
3592 | |||
3593 | _position.X = lpos.X; | ||
3594 | _position.Y = lpos.Y; | ||
3595 | _position.Z = lpos.Z; | ||
3596 | 3592 | ||
3597 | _orientation.X = ori.X; | 3593 | _position.X = lpos.X; |
3598 | _orientation.Y = ori.Y; | 3594 | _position.Y = lpos.Y; |
3599 | _orientation.Z = ori.Z; | 3595 | _position.Z = lpos.Z; |
3600 | _orientation.W = ori.W; | ||
3601 | 3596 | ||
3597 | _orientation.X = ori.X; | ||
3598 | _orientation.Y = ori.Y; | ||
3599 | _orientation.Z = ori.Z; | ||
3600 | _orientation.W = ori.W; | ||
3601 | } | ||
3602 | if (_zeroFlag) | 3602 | if (_zeroFlag) |
3603 | { | 3603 | { |
3604 | if (lastZeroFlag) | 3604 | if (lastZeroFlag) |