diff options
author | UbitUmarov | 2012-03-09 04:19:39 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-09 04:19:39 +0000 |
commit | 13f340077c20808fe17b5c737a87613156a3b1b3 (patch) | |
tree | c5cd0d83cacc5ba51434f1e5e84e850fd8faa187 /OpenSim/Region/Physics/ChOdePlugin | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff) | |
download | opensim-SC_OLD-13f340077c20808fe17b5c737a87613156a3b1b3.zip opensim-SC_OLD-13f340077c20808fe17b5c737a87613156a3b1b3.tar.gz opensim-SC_OLD-13f340077c20808fe17b5c737a87613156a3b1b3.tar.bz2 opensim-SC_OLD-13f340077c20808fe17b5c737a87613156a3b1b3.tar.xz |
let chode and ubitode find ode.dll on windows
Diffstat (limited to 'OpenSim/Region/Physics/ChOdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs index 5f5d547..05f6fae 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs | |||
@@ -72,6 +72,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
72 | { | 72 | { |
73 | if (_mScene == null) | 73 | if (_mScene == null) |
74 | { | 74 | { |
75 | if (Util.IsWindows()) | ||
76 | Util.LoadArchSpecificWindowsDll("ode.dll"); | ||
77 | |||
75 | // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to | 78 | // Initializing ODE only when a scene is created allows alternative ODE plugins to co-habit (according to |
76 | // http://opensimulator.org/mantis/view.php?id=2750). | 79 | // http://opensimulator.org/mantis/view.php?id=2750). |
77 | d.InitODE(); | 80 | d.InitODE(); |