From 4709436a6ca5daecad3f0835fd6c4921df7a5339 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 29 May 2013 20:23:52 +0100 Subject: retouch prim stopped condition test --- OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs') diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index c247e68..4cac0aa 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs @@ -3534,9 +3534,9 @@ namespace OpenSim.Region.Physics.OdePlugin (Math.Abs(_position.X - lpos.X) < 0.005f) && (Math.Abs(_position.Y - lpos.Y) < 0.005f) && (Math.Abs(_position.Z - lpos.Z) < 0.005f) - && (Math.Abs(_orientation.X - ori.X) < 0.001f) - && (Math.Abs(_orientation.Y - ori.Y) < 0.001f) - && (Math.Abs(_orientation.Z - ori.Z) < 0.001f) // ignore W + && (Math.Abs(_orientation.X - ori.X) < 0.0005f) + && (Math.Abs(_orientation.Y - ori.Y) < 0.0005f) + && (Math.Abs(_orientation.Z - ori.Z) < 0.0005f) // ignore W ) { _zeroFlag = true; -- cgit v1.1