From cb05b76b83c667e197afe1e27d1ab38a092a44ee Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 30 Jan 2008 07:46:48 +0000 Subject: * This update restores *nix support * This stability optimization is disabled on Apple Computers until the .dylib library is updated. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 9 ++++++++- bin/libode.so | Bin 3094394 -> 2992241 bytes 2 files changed, 8 insertions(+), 1 deletion(-) 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 internal void waitForSpaceUnlock(IntPtr space) { - while (d.SpaceLockQuery(space)) + try { + while (d.SpaceLockQuery(space)) + { + } + } + catch (System.Exception) + { + //Using this to catch the 'dll doesn't expose entrypoint SpaceLockQuery since the mac library hasn't been rebuilt yet } } /// diff --git a/bin/libode.so b/bin/libode.so index 9fac9f7..8532ee8 100644 Binary files a/bin/libode.so and b/bin/libode.so differ -- cgit v1.1