From 03202ada2918c0c0837e8de50e3a0436e4407c91 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 18 Oct 2011 21:11:13 +0100 Subject: Store scene identifier passed in to OdeScene for later debug messages --- OpenSim/Region/Physics/Manager/PhysicsScene.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Physics/Manager/PhysicsScene.cs') diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 07f2612..eaa1175 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs @@ -58,6 +58,11 @@ namespace OpenSim.Region.Physics.Manager { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + /// + /// Name of this scene. Useful in debug messages to distinguish one OdeScene instance from another. + /// + public string Name { get; protected set; } + // The only thing that should register for this event is the SceneGraph // Anything else could cause problems. -- cgit v1.1