diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs index 4cb1736..90560fd 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |||
@@ -4,7 +4,6 @@ using System.Reflection; | |||
4 | using log4net; | 4 | using log4net; |
5 | using Nini.Config; | 5 | using Nini.Config; |
6 | using Mono.Addins; | 6 | using Mono.Addins; |
7 | using OdeAPI; | ||
8 | using OpenSim.Framework; | 7 | using OpenSim.Framework; |
9 | using OpenSim.Region.Framework.Scenes; | 8 | using OpenSim.Region.Framework.Scenes; |
10 | using OpenSim.Region.Framework.Interfaces; | 9 | using OpenSim.Region.Framework.Interfaces; |
@@ -53,9 +52,9 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
53 | if (Util.IsWindows()) | 52 | if (Util.IsWindows()) |
54 | Util.LoadArchSpecificWindowsDll("ode.dll"); | 53 | Util.LoadArchSpecificWindowsDll("ode.dll"); |
55 | 54 | ||
56 | d.InitODE(); | 55 | SafeNativeMethods.InitODE(); |
57 | 56 | ||
58 | string ode_config = d.GetConfiguration(); | 57 | string ode_config = SafeNativeMethods.GetConfiguration(); |
59 | if (ode_config != null && ode_config != "") | 58 | if (ode_config != null && ode_config != "") |
60 | { | 59 | { |
61 | m_log.InfoFormat("[ubODE] ode library configuration: {0}", ode_config); | 60 | m_log.InfoFormat("[ubODE] ode library configuration: {0}", ode_config); |