Merge commit '03202ada2918c0c0837e8de50e3a0436e4407c91' into bigmerge
commit
6a01246cc6
|
@ -58,6 +58,11 @@ namespace OpenSim.Region.Physics.Manager
|
|||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
/// <summary>
|
||||
/// Name of this scene. Useful in debug messages to distinguish one OdeScene instance from another.
|
||||
/// </summary>
|
||||
public string Name { get; protected set; }
|
||||
|
||||
// The only thing that should register for this event is the SceneGraph
|
||||
// Anything else could cause problems.
|
||||
|
||||
|
|
|
@ -310,10 +310,13 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
/// Sets many properties that ODE requires to be stable
|
||||
/// These settings need to be tweaked 'exactly' right or weird stuff happens.
|
||||
/// </summary>
|
||||
public OdeScene(string sceneIdentifier)
|
||||
/// <param value="name">Name of the scene. Useful in debug messages.</param>
|
||||
public OdeScene(string name)
|
||||
{
|
||||
m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + sceneIdentifier);
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + name);
|
||||
|
||||
Name = name;
|
||||
|
||||
nearCallback = near;
|
||||
triCallback = TriCallback;
|
||||
|
|
Loading…
Reference in New Issue