Slightly improve "Unable to space collide" logging message, though I don't think I've ever seen this.

iar_mods
Justin Clark-Casey (justincc) 2011-11-21 21:31:26 +00:00
parent 4ddff7eb0f
commit c4e4a29478
1 changed files with 2 additions and 1 deletions

View File

@ -1556,8 +1556,9 @@ namespace OpenSim.Region.Physics.OdePlugin
} }
catch (AccessViolationException) catch (AccessViolationException)
{ {
m_log.Warn("[PHYSICS]: Unable to space collide"); m_log.WarnFormat("[PHYSICS]: Unable to space collide {0}", Name);
} }
//float terrainheight = GetTerrainHeightAtXY(chr.Position.X, chr.Position.Y); //float terrainheight = GetTerrainHeightAtXY(chr.Position.X, chr.Position.Y);
//if (chr.Position.Z + (chr.Velocity.Z * timeStep) < terrainheight + 10) //if (chr.Position.Z + (chr.Velocity.Z * timeStep) < terrainheight + 10)
//{ //{