* This pushes an identifier for the OpenSim scene to the physics scene.  This allows log messages from the physics scene to identify which OpenSim scene they relate to.
* Thanks Gerhard
This commit is contained in:
Justin Clarke Casey
2008-12-15 18:39:54 +00:00
parent 2e288fade1
commit 3b0db66b92
11 changed files with 68 additions and 29 deletions

View File

@@ -47,9 +47,9 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
return true;
}
public PhysicsScene GetScene()
public PhysicsScene GetScene(string sceneIdentifier)
{
return new BasicScene();
return new BasicScene(sceneIdentifier);
}
public string GetName()
@@ -67,8 +67,11 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
private List<BasicActor> _actors = new List<BasicActor>();
private float[] _heightMap;
public BasicScene()
string sceneIdentifier;
public BasicScene(string _sceneIdentifier)
{
sceneIdentifier = _sceneIdentifier;
}
public override void Initialise(IMesher meshmerizer, IConfigSource config)