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:
authorCampbell Barton <ideasman42@gmail.com>2010-11-29 10:56:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-29 10:56:45 +0300
commit1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 (patch)
treecad3a7d94daf0b17742bf707d159e6ca867b5cc5 /source/gameengine/SceneGraph/SConscript
parent04d374194756516c8b7a15fff99bfa72a2239f75 (diff)
fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
This define wasn't set in some parts of the BGE causing problems with the view matrix. in CMake define for the entire BGE fixes this.
Diffstat (limited to 'source/gameengine/SceneGraph/SConscript')
-rw-r--r--source/gameengine/SceneGraph/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/SceneGraph/SConscript b/source/gameengine/SceneGraph/SConscript
index b4738bd20b4..9270169199e 100644
--- a/source/gameengine/SceneGraph/SConscript
+++ b/source/gameengine/SceneGraph/SConscript
@@ -12,4 +12,8 @@ if env['WITH_BF_CXX_GUARDEDALLOC']:
defs.append('WITH_CXX_GUARDEDALLOC')
incs += ' #intern/guardedalloc'
+if env['WITH_BF_PYTHON']:
+ incs += ' ' + env['BF_PYTHON_INC']
+ defs.append('WITH_PYTHON')
+
env.BlenderLib ( 'ge_scenegraph', sources, Split(incs), defs, libtype=['core','player'], priority=[325,85], cxx_compileflags=env['BGE_CXXFLAGS'])