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
diff options
context:
space:
mode:
authorDaniel Genrich <daniel.genrich@gmx.net>2008-12-17 03:41:07 +0300
committerDaniel Genrich <daniel.genrich@gmx.net>2008-12-17 03:41:07 +0300
commit9776749438661c0476618d81918c15bd41347fc9 (patch)
tree2abce50227840a48b7e9176b145b3f8423076917
parent7714f17eca00b3b9038ad946d26a4869b16edaf7 (diff)
Reverting revision 17417 which broke cloth collisions which check also in blenkernel/intern for WITH_BULLET
-rw-r--r--source/blender/src/SConscript3
-rw-r--r--tools/Blender.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript
index 451afc9b244..dedb40485ef 100644
--- a/source/blender/src/SConscript
+++ b/source/blender/src/SConscript
@@ -65,9 +65,6 @@ if env['WITH_BF_ICONV']:
incs += ' ' + env['BF_ICONV_INC']
defs.append('WITH_ICONV')
-if env['WITH_BF_GAMEENGINE']:
- defs.append('GAMEBLENDER=1')
-
if env['WITH_BF_FFMPEG']:
defs.append('WITH_FFMPEG')
incs += ' ' + env['BF_FFMPEG_INC']
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'])