diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-17 08:40:40 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-17 08:40:40 +0300 |
commit | 3c886d7c384289206b02b1581ddc9366d607bd3f (patch) | |
tree | 700fab6f7001a2421ce981aa695f3ad81685d546 /tools | |
parent | 9776749438661c0476618d81918c15bd41347fc9 (diff) |
* commit r17900 by Genscher was wrong.
- Instead of defining such defines for the entire codebase in Blender.py, add
the right checks and definitions to the places where it matters.
- Only check+set WITH_BULLET instead of also GAMEBLENDER=1
- NOTE: No global defines allowed in BlenderLib.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Blender.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 3bf6f01bc25..1c54e98f177 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -421,10 +421,6 @@ 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']) |