aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletXPlugin
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin')
-rw-r--r--OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
index 4f1afdd..8f5ffd8 100644
--- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
+++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
@@ -212,11 +212,11 @@ namespace OpenSim.Region.Physics.BulletXPlugin
212 return true; 212 return true;
213 } 213 }
214 214
215 public PhysicsScene GetScene() 215 public PhysicsScene GetScene(string sceneIdentifier)
216 { 216 {
217 if (_mScene == null) 217 if (_mScene == null)
218 { 218 {
219 _mScene = new BulletXScene(); 219 _mScene = new BulletXScene(sceneIdentifier);
220 } 220 }
221 return (_mScene); 221 return (_mScene);
222 } 222 }
@@ -493,6 +493,12 @@ namespace OpenSim.Region.Physics.BulletXPlugin
493 public IMesher mesher; 493 public IMesher mesher;
494 // private IConfigSource m_config; 494 // private IConfigSource m_config;
495 495
496 String identifier;
497
498 public BulletXScene(String sceneIdentifier)
499 {
500 identifier = sceneIdentifier;
501 }
496 502
497 public static float Gravity 503 public static float Gravity
498 { 504 {