* This fixes BulletDotNET so it can now be used on linux.
parent
9459b16cc2
commit
0d4880d5cf
|
@ -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.
Loading…
Reference in New Issue