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 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') 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 } } /// -- cgit v1.1