diff options
author | Justin Clark-Casey (justincc) | 2011-11-04 23:43:17 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-04 23:43:17 +0000 |
commit | f7b8c54c24c9495bb54fb3443856e25d18e11230 (patch) | |
tree | be35c9980b6b25286c941d46f2d9644cb2ba61b4 /OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |
parent | On standup, trigger the changed link script event after the avatar has been f... (diff) | |
download | opensim-SC-f7b8c54c24c9495bb54fb3443856e25d18e11230.zip opensim-SC-f7b8c54c24c9495bb54fb3443856e25d18e11230.tar.gz opensim-SC-f7b8c54c24c9495bb54fb3443856e25d18e11230.tar.bz2 opensim-SC-f7b8c54c24c9495bb54fb3443856e25d18e11230.tar.xz |
Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity()
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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"); | |||
2250 | { | 2250 | { |
2251 | if (!m_isSelected) | 2251 | if (!m_isSelected) |
2252 | { | 2252 | { |
2253 | // Not sure exactly why this sleep is here, but from experimentation it appears to stop an avatar | ||
2254 | // walking through a default rez size prim if it keeps kicking it around - justincc. | ||
2253 | Thread.Sleep(20); | 2255 | Thread.Sleep(20); |
2256 | |||
2254 | if (IsPhysical) | 2257 | if (IsPhysical) |
2255 | { | 2258 | { |
2256 | if (Body != IntPtr.Zero) | 2259 | if (Body != IntPtr.Zero) |