From 02d672de365ae5f0c40c4c61f7d6fa29565292c4 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 30 Jan 2008 08:30:22 +0000 Subject: * See if this helps Nebadon. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index e67c29b..d68cc42 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -208,17 +208,12 @@ namespace OpenSim.Region.Physics.OdePlugin internal void waitForSpaceUnlock(IntPtr space) { - try - { + while (d.SpaceLockQuery(space)) { - + int i = 0; } - } - catch (System.Exception) - { - //Using this to catch the 'dll doesn't expose entrypoint SpaceLockQuery since the mac library hasn't been rebuilt yet - } + } /// /// Debug space message for printing the space that a prim/avatar is in. -- cgit v1.1