aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
index 428a586..4ab8d44 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Physics.Manager
65 /// <param name="meshEngineName"></param> 65 /// <param name="meshEngineName"></param>
66 /// <param name="config"></param> 66 /// <param name="config"></param>
67 /// <returns></returns> 67 /// <returns></returns>
68 public PhysicsScene GetPhysicsScene(string physEngineName, string meshEngineName, IConfigSource config) 68 public PhysicsScene GetPhysicsScene(string physEngineName, string meshEngineName, IConfigSource config, string regionName)
69 { 69 {
70 if (String.IsNullOrEmpty(physEngineName)) 70 if (String.IsNullOrEmpty(physEngineName))
71 { 71 {
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Physics.Manager
92 if (_PhysPlugins.ContainsKey(physEngineName)) 92 if (_PhysPlugins.ContainsKey(physEngineName))
93 { 93 {
94 m_log.Info("[PHYSICS]: creating " + physEngineName); 94 m_log.Info("[PHYSICS]: creating " + physEngineName);
95 PhysicsScene result = _PhysPlugins[physEngineName].GetScene(); 95 PhysicsScene result = _PhysPlugins[physEngineName].GetScene(regionName);
96 result.Initialise(meshEngine, config); 96 result.Initialise(meshEngine, config);
97 return result; 97 return result;
98 } 98 }
@@ -226,7 +226,7 @@ namespace OpenSim.Region.Physics.Manager
226 public interface IPhysicsPlugin 226 public interface IPhysicsPlugin
227 { 227 {
228 bool Init(); 228 bool Init();
229 PhysicsScene GetScene(); 229 PhysicsScene GetScene(String sceneIdentifier);
230 string GetName(); 230 string GetName();
231 void Dispose(); 231 void Dispose();
232 } 232 }