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
							
								
									548deb9153
								
							
						
					
					
						commit
						2e02f49fd9
					
				|  | @ -2256,11 +2256,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
	
	 Justin Clark-Casey (justincc)
						Justin Clark-Casey (justincc)