* This fixes BulletDotNET so it can now be used on linux.

0.6.5-rc1
Teravus Ovares 2009-04-07 03:33:28 +00:00
parent 9459b16cc2
commit 0d4880d5cf
3 changed files with 2 additions and 0 deletions

View File

@ -118,12 +118,14 @@ namespace OpenSim.Region.Physics.BulletDotNETPlugin
{ {
mesher = meshmerizer; mesher = meshmerizer;
m_config = config; m_config = config;
/*
if (Environment.OSVersion.Platform == PlatformID.Unix) if (Environment.OSVersion.Platform == PlatformID.Unix)
{ {
m_log.Fatal("[BulletDotNET]: This configuration is not supported on *nix currently"); m_log.Fatal("[BulletDotNET]: This configuration is not supported on *nix currently");
Thread.Sleep(5000); Thread.Sleep(5000);
Environment.Exit(0); Environment.Exit(0);
} }
*/
m_broadphase = new btAxisSweep3(worldAabbMin, worldAabbMax, 16000); m_broadphase = new btAxisSweep3(worldAabbMin, worldAabbMax, 16000);
m_collisionConfiguration = new btDefaultCollisionConfiguration(); m_collisionConfiguration = new btDefaultCollisionConfiguration();
m_solver = new btSequentialImpulseConstraintSolver(); m_solver = new btSequentialImpulseConstraintSolver();

Binary file not shown.

Binary file not shown.