mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user