* ODE removes an unnecessary lock.
parent
cb6ec3d0f7
commit
d8fde94843
|
@ -1589,8 +1589,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
// Sim resources and memory.
|
// Sim resources and memory.
|
||||||
// Disables the prim's movement physics....
|
// Disables the prim's movement physics....
|
||||||
// It's a hack and will generate a console message if it fails.
|
// It's a hack and will generate a console message if it fails.
|
||||||
lock (OdeScene.OdeLock)
|
|
||||||
{
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
disableBody();
|
disableBody();
|
||||||
|
@ -1605,7 +1604,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
IsPhysical = false;
|
IsPhysical = false;
|
||||||
_velocity.X = 0;
|
_velocity.X = 0;
|
||||||
|
|
Loading…
Reference in New Issue