diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs index 90560fd..7ef4d27 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |||
@@ -55,15 +55,13 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
55 | SafeNativeMethods.InitODE(); | 55 | SafeNativeMethods.InitODE(); |
56 | 56 | ||
57 | string ode_config = SafeNativeMethods.GetConfiguration(); | 57 | string ode_config = SafeNativeMethods.GetConfiguration(); |
58 | if (ode_config != null && ode_config != "") | 58 | if (ode_config == null || ode_config == "" || !ode_config.Contains("ODE_OPENSIM")) |
59 | { | 59 | { |
60 | m_log.InfoFormat("[ubODE] ode library configuration: {0}", ode_config); | 60 | m_log.Error("[ubODE] Native ode library version not supported"); |
61 | 61 | m_Enabled = false; | |
62 | if (ode_config.Contains("ODE_OPENSIM")) | 62 | return; |
63 | { | ||
64 | OSOdeLib = true; | ||
65 | } | ||
66 | } | 63 | } |
64 | m_log.InfoFormat("[ubODE] ode library configuration: {0}", ode_config); | ||
67 | } | 65 | } |
68 | } | 66 | } |
69 | } | 67 | } |