Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity()

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-11-04 23:43:17 +00:00
parent d7815ace4a
commit f7b8c54c24
2 changed files with 4 additions and 1 deletions

View File

@ -1269,7 +1269,7 @@ namespace OpenSim.Region.Physics.OdePlugin
// m_taintForce = Vector3.Zero. Need to lock ProcessTaints() when we set a new tainted force.
doForce(m_taintForce);
}
m_taintForce = Vector3.Zero;
}

View File

@ -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)