diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs index e4ff725..b8ca180 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs | |||
@@ -29,6 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.IO; | 30 | using System.IO; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using Nini.Config; | ||
32 | using log4net; | 33 | using log4net; |
33 | 34 | ||
34 | namespace OpenSim.Region.Physics.Manager | 35 | namespace OpenSim.Region.Physics.Manager |
@@ -47,7 +48,7 @@ namespace OpenSim.Region.Physics.Manager | |||
47 | { | 48 | { |
48 | } | 49 | } |
49 | 50 | ||
50 | public PhysicsScene GetPhysicsScene(string physEngineName, string meshEngineName) | 51 | public PhysicsScene GetPhysicsScene(string physEngineName, string meshEngineName, IConfigSource config) |
51 | { | 52 | { |
52 | if (String.IsNullOrEmpty(physEngineName)) | 53 | if (String.IsNullOrEmpty(physEngineName)) |
53 | { | 54 | { |
@@ -75,7 +76,7 @@ namespace OpenSim.Region.Physics.Manager | |||
75 | { | 76 | { |
76 | m_log.Info("[PHYSICS]: creating " + physEngineName); | 77 | m_log.Info("[PHYSICS]: creating " + physEngineName); |
77 | PhysicsScene result = _PhysPlugins[physEngineName].GetScene(); | 78 | PhysicsScene result = _PhysPlugins[physEngineName].GetScene(); |
78 | result.Initialise(meshEngine); | 79 | result.Initialise(meshEngine, config); |
79 | return result; | 80 | return result; |
80 | } | 81 | } |
81 | else | 82 | else |