diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 9 |
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> |