From f7b8c54c24c9495bb54fb3443856e25d18e11230 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 4 Nov 2011 23:43:17 +0000 Subject: Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity() --- OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index ea6af3a..2f9a54b 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs @@ -2250,7 +2250,10 @@ Console.WriteLine(" JointCreateFixed"); { if (!m_isSelected) { + // Not sure exactly why this sleep is here, but from experimentation it appears to stop an avatar + // walking through a default rez size prim if it keeps kicking it around - justincc. Thread.Sleep(20); + if (IsPhysical) { if (Body != IntPtr.Zero) -- cgit v1.1