[Bf-blender-cvs] [eca704f] master: Fix T46090: Blender game embedded player crash
Sybren A. Stüvel
noreply at git.blender.org
Thu Sep 17 10:14:25 CEST 2015
Commit: eca704f579981b5d96f56999a298c0a74c3ef582
Author: Sybren A. Stüvel
Date: Thu Sep 17 10:14:08 2015 +0200
Branches: master
https://developer.blender.org/rBeca704f579981b5d96f56999a298c0a74c3ef582
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
===================================================================
M source/blender/python/SConscript
===================================================================
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index f7b0125..79c5376 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')
More information about the Bf-blender-cvs
mailing list