From d8fde94843c64ee99a33c9323b611702d2b64d85 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 14 Nov 2007 16:24:19 +0000 Subject: * ODE removes an unnecessary lock. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 808f7c2..05604c3 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -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; -- cgit v1.1