From eca704f579981b5d96f56999a298c0a74c3ef582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 17 Sep 2015 10:14:08 +0200 Subject: Fix T46090: Blender game embedded player crash SCons didn't pass `-DWITH_AUDASPACE` to the compiler, so it skipped the instantiation of the "aud" Python module. This caused a crash of the BGE, which did get the `-DWITH_AUDASPACE` directive, and expected that module to exist. Reviewed by: lukastoenne --- source/blender/python/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/SConscript') diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript index f7b01259ead..79c53760302 100644 --- a/source/blender/python/SConscript +++ b/source/blender/python/SConscript @@ -93,8 +93,8 @@ if env['WITH_BF_PYTHON_SAFETY']: if env['BF_BUILDINFO']: defs.append('BUILD_DATE') - -# Audaspace is always on currently +if env['WITH_BF_AUDASPACE']: + defs += env['BF_AUDASPACE_DEF'] if env['WITH_BF_BULLET']: defs.append('WITH_BULLET') -- cgit v1.2.3