diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 673818a..33b9ce3 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -1537,11 +1537,11 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1537 | 1537 | ||
1538 | while (step_time > 0.0f) | 1538 | while (step_time > 0.0f) |
1539 | { | 1539 | { |
1540 | lock (ode) | 1540 | //lock (ode) |
1541 | { | 1541 | //{ |
1542 | if (!ode.lockquery()) | 1542 | //if (!ode.lockquery()) |
1543 | { | 1543 | //{ |
1544 | ode.dlock(world); | 1544 | // ode.dlock(world); |
1545 | try | 1545 | try |
1546 | { | 1546 | { |
1547 | lock (_characters) | 1547 | lock (_characters) |
@@ -1605,12 +1605,12 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1605 | 1605 | ||
1606 | step_time -= ODE_STEPSIZE; | 1606 | step_time -= ODE_STEPSIZE; |
1607 | i++; | 1607 | i++; |
1608 | } | 1608 | //} |
1609 | else | 1609 | //else |
1610 | { | 1610 | //{ |
1611 | fps = 0; | 1611 | //fps = 0; |
1612 | } | 1612 | //} |
1613 | } | 1613 | //} |
1614 | } | 1614 | } |
1615 | 1615 | ||
1616 | lock (_characters) | 1616 | lock (_characters) |