aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-21 04:10:39 +0000
committerJustin Clark-Casey (justincc)2012-02-21 04:10:39 +0000
commitdaee2eda93c3135964784417f81c5cb4ce52871f (patch)
treed2970ff94dfbb01d572f939c6262a5620c74c712 /OpenSim/Region/Physics
parentReplace previous windows 64-bit sqlite3.dll with one from http://system.data.... (diff)
downloadopensim-SC_OLD-daee2eda93c3135964784417f81c5cb4ce52871f.zip
opensim-SC_OLD-daee2eda93c3135964784417f81c5cb4ce52871f.tar.gz
opensim-SC_OLD-daee2eda93c3135964784417f81c5cb4ce52871f.tar.bz2
opensim-SC_OLD-daee2eda93c3135964784417f81c5cb4ce52871f.tar.xz
Load 32-bit or 64-bit BulletSim Windows library automatically as appropriate.
This uses the same approach as ODE. radams, if this doesn't work for you please feel free to revert.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs
index 61be56d..0730824 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs
@@ -51,6 +51,9 @@ public class BSPlugin : IPhysicsPlugin
51 { 51 {
52 if (_mScene == null) 52 if (_mScene == null)
53 { 53 {
54 if (Util.IsWindows())
55 Util.LoadArchSpecificWindowsDll("BulletSim.dll");
56
54 _mScene = new BSScene(sceneIdentifier); 57 _mScene = new BSScene(sceneIdentifier);
55 } 58 }
56 return (_mScene); 59 return (_mScene);