From 3c886d7c384289206b02b1581ddc9366d607bd3f Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 17 Dec 2008 05:40:40 +0000 Subject: * 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. --- tools/Blender.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools') 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']) -- cgit v1.2.3