minor: If the physics module tells us that an object has gone out of bounds, more helpfully log the name, id, position and region of that object.
parent
56ec177b3b
commit
494e6a5f11
|
@ -2266,11 +2266,14 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public void PhysicsOutOfBounds(Vector3 pos)
|
||||
{
|
||||
m_log.Error("[PHYSICS]: Physical Object went out of bounds.");
|
||||
// Note: This is only being called on the root prim at this time.
|
||||
|
||||
m_log.ErrorFormat(
|
||||
"[SCENE OBJECT PART]: Physical object {0}, localID {1} went out of bounds at {2} in {3}. Stopping at {4} and making non-physical.",
|
||||
Name, LocalId, pos, ParentGroup.Scene.Name, AbsolutePosition);
|
||||
|
||||
RemFlag(PrimFlags.Physics);
|
||||
DoPhysicsPropertyUpdate(false, true);
|
||||
//ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(PhysActor);
|
||||
}
|
||||
|
||||
public void PhysicsRequestingTerseUpdate()
|
||||
|
|
Loading…
Reference in New Issue