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.
This commit is contained in:
Dr Scofield
2009-06-10 11:48:13 +00:00
parent 6eb808f665
commit 8045ed28ec

View File

@@ -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;
}