diff options
author | Justin Clark-Casey (justincc) | 2011-10-18 21:11:13 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-18 21:11:13 +0100 |
commit | 03202ada2918c0c0837e8de50e3a0436e4407c91 (patch) | |
tree | 13ed926bd4771679d957b83f4a19ba98d6bdf4e6 /OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |
parent | Don't bother taking OdeLock during OdeScene construction, since there can be ... (diff) | |
download | opensim-SC-03202ada2918c0c0837e8de50e3a0436e4407c91.zip opensim-SC-03202ada2918c0c0837e8de50e3a0436e4407c91.tar.gz opensim-SC-03202ada2918c0c0837e8de50e3a0436e4407c91.tar.bz2 opensim-SC-03202ada2918c0c0837e8de50e3a0436e4407c91.tar.xz |
Store scene identifier passed in to OdeScene for later debug messages
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 7 |
1 files changed, 5 insertions, 2 deletions
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; |