* ODE removes an unnecessary lock.

afrisby
Teravus Ovares 2007-11-14 16:24:19 +00:00
parent cb6ec3d0f7
commit d8fde94843
1 changed files with 2 additions and 3 deletions

View File

@ -1589,8 +1589,7 @@ namespace OpenSim.Region.Physics.OdePlugin
// Sim resources and memory.
// Disables the prim's movement physics....
// It's a hack and will generate a console message if it fails.
lock (OdeScene.OdeLock)
{
try
{
disableBody();
@ -1605,7 +1604,7 @@ namespace OpenSim.Region.Physics.OdePlugin
}
}
}
IsPhysical = false;
_velocity.X = 0;