Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-12-17 08:40:40 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-12-17 08:40:40 +0300
commit3c886d7c384289206b02b1581ddc9366d607bd3f (patch)
tree700fab6f7001a2421ce981aa695f3ad81685d546 /tools
parent9776749438661c0476618d81918c15bd41347fc9 (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.py4
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'])