aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-12-15 00:30:17 +0000
committerJustin Clark-Casey (justincc)2012-12-15 00:30:17 +0000
commit494e6a5f114372ca417607ff6af3c6d5a3aaae9e (patch)
treeeb007bf53142fec09667bf10540fc679849f2d18 /OpenSim
parentminor: Add commented out log lines to ScenePresenceAnimator for future debug ... (diff)
downloadopensim-SC_OLD-494e6a5f114372ca417607ff6af3c6d5a3aaae9e.zip
opensim-SC_OLD-494e6a5f114372ca417607ff6af3c6d5a3aaae9e.tar.gz
opensim-SC_OLD-494e6a5f114372ca417607ff6af3c6d5a3aaae9e.tar.bz2
opensim-SC_OLD-494e6a5f114372ca417607ff6af3c6d5a3aaae9e.tar.xz
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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ff67d6d..af7fae3 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2266,11 +2266,14 @@ namespace OpenSim.Region.Framework.Scenes
2266 2266
2267 public void PhysicsOutOfBounds(Vector3 pos) 2267 public void PhysicsOutOfBounds(Vector3 pos)
2268 { 2268 {
2269 m_log.Error("[PHYSICS]: Physical Object went out of bounds."); 2269 // Note: This is only being called on the root prim at this time.
2270
2271 m_log.ErrorFormat(
2272 "[SCENE OBJECT PART]: Physical object {0}, localID {1} went out of bounds at {2} in {3}. Stopping at {4} and making non-physical.",
2273 Name, LocalId, pos, ParentGroup.Scene.Name, AbsolutePosition);
2270 2274
2271 RemFlag(PrimFlags.Physics); 2275 RemFlag(PrimFlags.Physics);
2272 DoPhysicsPropertyUpdate(false, true); 2276 DoPhysicsPropertyUpdate(false, true);
2273 //ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(PhysActor);
2274 } 2277 }
2275 2278
2276 public void PhysicsRequestingTerseUpdate() 2279 public void PhysicsRequestingTerseUpdate()