aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorMelanie2012-02-21 10:20:56 +0000
committerMelanie2012-02-21 10:20:56 +0000
commit03e7bc1526d24efe23f61f6a8dee88010ccfdb8c (patch)
treec2c2afef43a697dec1373ef5987f7d163031e5e2 /OpenSim/Region/Physics/OdePlugin
parentMerge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff)
parentBoth 32-bit and 64-bit BulletSim.dll must have the same name. Rename the 64 ... (diff)
downloadopensim-SC-03e7bc1526d24efe23f61f6a8dee88010ccfdb8c.zip
opensim-SC-03e7bc1526d24efe23f61f6a8dee88010ccfdb8c.tar.gz
opensim-SC-03e7bc1526d24efe23f61f6a8dee88010ccfdb8c.tar.bz2
opensim-SC-03e7bc1526d24efe23f61f6a8dee88010ccfdb8c.tar.xz
Merge branch 'master' into careminster
Conflicts:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index e8bb476..478dd95 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -66,20 +66,7 @@ namespace OpenSim.Region.Physics.OdePlugin
66 // This isn't necessary for other platforms (e.g. Mac OSX and Linux) since the DLL used can be 66 // This isn't necessary for other platforms (e.g. Mac OSX and Linux) since the DLL used can be
67 // controlled in Ode.NET.dll.config 67 // controlled in Ode.NET.dll.config
68 if (Util.IsWindows()) 68 if (Util.IsWindows())
69 { 69 Util.LoadArchSpecificWindowsDll("ode.dll");
70 string nativeLibraryPath;
71
72 if (Util.Is64BitProcess())
73 nativeLibraryPath = "lib64/ode.dll";
74 else
75 nativeLibraryPath = "lib32/ode.dll";
76
77 m_log.DebugFormat("[ODE PLUGIN]: Loading native Windows ODE library at {0}", nativeLibraryPath);
78
79 if (Util.LoadLibrary(nativeLibraryPath) == IntPtr.Zero)
80 m_log.ErrorFormat(
81 "[ODE PLUGIN]: Couldn't find native Windows ODE library at {0}", nativeLibraryPath);
82 }
83 70
84 // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to 71 // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to
85 // http://opensimulator.org/mantis/view.php?id=2750). 72 // http://opensimulator.org/mantis/view.php?id=2750).