aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-01-21 08:34:19 +0000
committerUbitUmarov2019-01-21 08:34:19 +0000
commit44d6746f406445ca0db453ede44936a683a27386 (patch)
tree970e6c0bbc88d878fe276316671efb52c072644e /OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
parentchange float to byte rounding (diff)
downloadopensim-SC-44d6746f406445ca0db453ede44936a683a27386.zip
opensim-SC-44d6746f406445ca0db453ede44936a683a27386.tar.gz
opensim-SC-44d6746f406445ca0db453ede44936a683a27386.tar.bz2
opensim-SC-44d6746f406445ca0db453ede44936a683a27386.tar.xz
well.. put the ode locks back, for now
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/PhysicsModules/Ode/OdeScene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
index c9bc754..5ad2126 100644
--- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
+++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
@@ -124,8 +124,8 @@ namespace OpenSim.Region.PhysicsModule.ODE
124 /// /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7f03c9849c60] 124 /// /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7f03c9849c60]
125 /// .../opensim/bin/libode-x86_64.so(_Z12dCollideCCTLP6dxGeomS0_iP12dContactGeomi+0x92) [0x7f03b44bcf82] 125 /// .../opensim/bin/libode-x86_64.so(_Z12dCollideCCTLP6dxGeomS0_iP12dContactGeomi+0x92) [0x7f03b44bcf82]
126 /// </remarks> 126 /// </remarks>
127// internal static Object UniversalColliderSyncObject = new Object(); 127 internal static object UniversalColliderSyncObject = new object();
128 internal static Object SimulationLock = new Object(); 128 internal static object SimulationLock = new object();
129 129
130 /// <summary> 130 /// <summary>
131 /// Is stats collecting enabled for this ODE scene? 131 /// Is stats collecting enabled for this ODE scene?
@@ -880,7 +880,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
880 { 880 {
881 int count; 881 int count;
882 882
883// lock (OdeScene.UniversalColliderSyncObject) 883 lock (OdeScene.UniversalColliderSyncObject)
884 { 884 {
885 // We do this inside the lock so that we don't count any delay in acquiring it 885 // We do this inside the lock so that we don't count any delay in acquiring it
886 if (CollectStats) 886 if (CollectStats)
@@ -2869,7 +2869,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
2869 tempTick = tempTick2; 2869 tempTick = tempTick2;
2870 } 2870 }
2871 2871
2872// lock(SimulationLock) 2872 lock(SimulationLock)
2873 SafeNativeMethods.WorldQuickStep(world, ODE_STEPSIZE); 2873 SafeNativeMethods.WorldQuickStep(world, ODE_STEPSIZE);
2874 2874
2875 if (CollectStats) 2875 if (CollectStats)