aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index e6f45c8..d8d3b68 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -2593,7 +2593,7 @@ namespace OpenSim.Region.Physics.OdePlugin
2593 if ((Math.Abs(m_lastposition.X - l_position.X) < 0.02) 2593 if ((Math.Abs(m_lastposition.X - l_position.X) < 0.02)
2594 && (Math.Abs(m_lastposition.Y - l_position.Y) < 0.02) 2594 && (Math.Abs(m_lastposition.Y - l_position.Y) < 0.02)
2595 && (Math.Abs(m_lastposition.Z - l_position.Z) < 0.02) 2595 && (Math.Abs(m_lastposition.Z - l_position.Z) < 0.02)
2596 && (1.0 - Math.Abs(Quaternion.Dot(m_lastorientation, l_orientation)) < 0.01 )) 2596 && (1.0 - Math.Abs(Quaternion.Dot(m_lastorientation, l_orientation)) < 0.01))
2597 { 2597 {
2598 _zeroFlag = true; 2598 _zeroFlag = true;
2599 m_throttleUpdates = false; 2599 m_throttleUpdates = false;
@@ -2981,7 +2981,7 @@ namespace OpenSim.Region.Physics.OdePlugin
2981 Matrix4 transposeMatrix = new Matrix4(); 2981 Matrix4 transposeMatrix = new Matrix4();
2982 for (int i = 0; i < 4; i++) 2982 for (int i = 0; i < 4; i++)
2983 for (int j = 0; j < 4; j++) 2983 for (int j = 0; j < 4; j++)
2984 Matrix4SetValue( ref transposeMatrix, i, j, pMat[j, i]); 2984 Matrix4SetValue(ref transposeMatrix, i, j, pMat[j, i]);
2985 return transposeMatrix; 2985 return transposeMatrix;
2986 } 2986 }
2987 2987