diff options
author | UbitUmarov | 2018-11-12 11:12:52 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-12 11:12:52 +0000 |
commit | c05598fe62476a30b0df49b4d271dac22c4faf4c (patch) | |
tree | 71e162b853c9955edf69b9a827298ff854e7d0c9 /OpenSim/Region/PhysicsModules/ubOde/ODEModule.cs | |
parent | add a bit more things to ScriptSyntax, change a few more incoerent lsl types ... (diff) | |
download | opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.zip opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.gz opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.bz2 opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.xz |
ubOde: remove support for old native ODE lib; make inplace terrain changes, if possible
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 | } |