diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-12-17 03:41:07 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-12-17 03:41:07 +0300 |
commit | 9776749438661c0476618d81918c15bd41347fc9 (patch) | |
tree | 2abce50227840a48b7e9176b145b3f8423076917 /tools | |
parent | 7714f17eca00b3b9038ad946d26a4869b16edaf7 (diff) |
Reverting revision 17417 which broke cloth collisions which check also in blenkernel/intern for WITH_BULLET
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Blender.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 1c54e98f177..3bf6f01bc25 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -421,6 +421,10 @@ class BlenderEnvironment(SConsEnvironment): lenv = self.Clone() lenv.Append(CPPPATH=includes) lenv.Append(CPPDEFINES=defines) + if lenv['WITH_BF_GAMEENGINE']: + lenv.Append(CPPDEFINES=['GAMEBLENDER=1']) + if lenv['WITH_BF_BULLET']: + lenv.Append(CPPDEFINES=['WITH_BULLET=1']) if lenv['BF_DEBUG'] or (libname in quickdebug): lenv.Append(CFLAGS = lenv['BF_DEBUG_CFLAGS']) lenv.Append(CCFLAGS = lenv['BF_DEBUG_CCFLAGS']) |