aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-30 07:46:48 +0000
committerTeravus Ovares2008-01-30 07:46:48 +0000
commitcb05b76b83c667e197afe1e27d1ab38a092a44ee (patch)
treeca047f9f80b96c1c80ce6824ca8daf885c2c7fa2 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parent* Experimental ODE Update to make ODE more stable (diff)
downloadopensim-SC-cb05b76b83c667e197afe1e27d1ab38a092a44ee.zip
opensim-SC-cb05b76b83c667e197afe1e27d1ab38a092a44ee.tar.gz
opensim-SC-cb05b76b83c667e197afe1e27d1ab38a092a44ee.tar.bz2
opensim-SC-cb05b76b83c667e197afe1e27d1ab38a092a44ee.tar.xz
* This update restores *nix support
* This stability optimization is disabled on Apple Computers until the .dylib library is updated.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 4c3dcd3..e67c29b 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -208,9 +208,16 @@ namespace OpenSim.Region.Physics.OdePlugin
208 208
209 internal void waitForSpaceUnlock(IntPtr space) 209 internal void waitForSpaceUnlock(IntPtr space)
210 { 210 {
211 while (d.SpaceLockQuery(space)) 211 try
212 { 212 {
213 while (d.SpaceLockQuery(space))
214 {
213 215
216 }
217 }
218 catch (System.Exception)
219 {
220 //Using this to catch the 'dll doesn't expose entrypoint SpaceLockQuery since the mac library hasn't been rebuilt yet
214 } 221 }
215 } 222 }
216 /// <summary> 223 /// <summary>