diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 5 |
1 files changed, 2 insertions, 3 deletions
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 | |||
1589 | // Sim resources and memory. | 1589 | // Sim resources and memory. |
1590 | // Disables the prim's movement physics.... | 1590 | // Disables the prim's movement physics.... |
1591 | // It's a hack and will generate a console message if it fails. | 1591 | // It's a hack and will generate a console message if it fails. |
1592 | lock (OdeScene.OdeLock) | 1592 | |
1593 | { | ||
1594 | try | 1593 | try |
1595 | { | 1594 | { |
1596 | disableBody(); | 1595 | disableBody(); |
@@ -1605,7 +1604,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1605 | 1604 | ||
1606 | } | 1605 | } |
1607 | } | 1606 | } |
1608 | } | 1607 | |
1609 | 1608 | ||
1610 | IsPhysical = false; | 1609 | IsPhysical = false; |
1611 | _velocity.X = 0; | 1610 | _velocity.X = 0; |