From 1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Nov 2010 07:56:45 +0000 Subject: 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. --- source/gameengine/SceneGraph/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/gameengine/SceneGraph/SConscript') 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']) -- cgit v1.2.3