aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2011-10-25 02:55:38 +0100
committerMelanie2011-10-25 02:55:38 +0100
commit6a01246cc62ccf48eca0a4e4263d98f2ddd040cb (patch)
tree76a1a374ca6d3af44e0b35a53c86d3ff0e5d7225 /OpenSim
parentMerge commit '1d4cd76e8a8c64da71fc384ff9c654d7f4f849c1' into bigmerge (diff)
parentStore scene identifier passed in to OdeScene for later debug messages (diff)
downloadopensim-SC_OLD-6a01246cc62ccf48eca0a4e4263d98f2ddd040cb.zip
opensim-SC_OLD-6a01246cc62ccf48eca0a4e4263d98f2ddd040cb.tar.gz
opensim-SC_OLD-6a01246cc62ccf48eca0a4e4263d98f2ddd040cb.tar.bz2
opensim-SC_OLD-6a01246cc62ccf48eca0a4e4263d98f2ddd040cb.tar.xz
Merge commit '03202ada2918c0c0837e8de50e3a0436e4407c91' into bigmerge
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsScene.cs5
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs7
2 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
index e3b222c..acedf44 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs
@@ -58,6 +58,11 @@ namespace OpenSim.Region.Physics.Manager
58 { 58 {
59 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 59 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
60 60
61 /// <summary>
62 /// Name of this scene. Useful in debug messages to distinguish one OdeScene instance from another.
63 /// </summary>
64 public string Name { get; protected set; }
65
61 // The only thing that should register for this event is the SceneGraph 66 // The only thing that should register for this event is the SceneGraph
62 // Anything else could cause problems. 67 // Anything else could cause problems.
63 68
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index 67ed66e..8cce349 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -310,10 +310,13 @@ namespace OpenSim.Region.Physics.OdePlugin
310 /// Sets many properties that ODE requires to be stable 310 /// Sets many properties that ODE requires to be stable
311 /// These settings need to be tweaked 'exactly' right or weird stuff happens. 311 /// These settings need to be tweaked 'exactly' right or weird stuff happens.
312 /// </summary> 312 /// </summary>
313 public OdeScene(string sceneIdentifier) 313 /// <param value="name">Name of the scene. Useful in debug messages.</param>
314 public OdeScene(string name)
314 { 315 {
315 m_log 316 m_log
316 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + sceneIdentifier); 317 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + name);
318
319 Name = name;
317 320
318 nearCallback = near; 321 nearCallback = near;
319 triCallback = TriCallback; 322 triCallback = TriCallback;