diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
commit | 1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 (patch) | |
tree | cad3a7d94daf0b17742bf707d159e6ca867b5cc5 /source/gameengine/SceneGraph | |
parent | 04d374194756516c8b7a15fff99bfa72a2239f75 (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')
-rw-r--r-- | source/gameengine/SceneGraph/SConscript | 4 |
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']) |