diff options
Diffstat (limited to 'modules/bullet/SCsub')
-rw-r--r-- | modules/bullet/SCsub | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub index 692c749886..21bdcca18e 100644 --- a/modules/bullet/SCsub +++ b/modules/bullet/SCsub @@ -175,6 +175,7 @@ if env["builtin_bullet"]: "BulletSoftBody/btDeformableContactProjection.cpp", "BulletSoftBody/btDeformableMultiBodyDynamicsWorld.cpp", "BulletSoftBody/btDeformableContactConstraint.cpp", + "BulletSoftBody/poly34.cpp", # clew "clew/clew.c", # LinearMath @@ -200,8 +201,10 @@ if env["builtin_bullet"]: env_bullet.Append(CPPFLAGS=["-isystem", Dir(thirdparty_dir).path]) else: env_bullet.Prepend(CPPPATH=[thirdparty_dir]) - # if env['target'] == "debug" or env['target'] == "release_debug": - # env_bullet.Append(CPPDEFINES=['BT_DEBUG']) + if env["target"] == "debug" or env["target"] == "release_debug": + env_bullet.Append(CPPDEFINES=["DEBUG"]) + + env_bullet.Append(CPPDEFINES=["BT_USE_OLD_DAMPING_METHOD"]) env_thirdparty = env_bullet.Clone() env_thirdparty.disable_warnings() |