From daee2eda93c3135964784417f81c5cb4ce52871f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 21 Feb 2012 04:10:39 +0000 Subject: 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. --- OpenSim/Region/Physics/BulletSPlugin/BSPlugin.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region') 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 { if (_mScene == null) { + if (Util.IsWindows()) + Util.LoadArchSpecificWindowsDll("BulletSim.dll"); + _mScene = new BSScene(sceneIdentifier); } return (_mScene); -- cgit v1.1