From 8045ed28ecb89b7342c78ed083ce9536dee79770 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 10 Jun 2009 11:48:13 +0000 Subject: [PATCH] From: Alan Webb Eat collision errors --- NOTE: this fix might be naive, it seems to have helped us getting to 81 avatars (whereas we'd crash with 20 before), but it sure would benefit from some check-over by a person skilled in the art of ODE physics. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 60ac724176..46689eb780 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -769,9 +769,9 @@ namespace OpenSim.Region.Physics.OdePlugin ode.drelease(world); base.TriggerPhysicsBasedRestart(); } - catch (AccessViolationException) + catch (Exception e) { - m_log.Warn("[PHYSICS]: Unable to collide test an object"); + m_log.WarnFormat("[PHYSICS]: Unable to collide test an object: {0}", e.Message); return; }