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
This commit is contained in:
parent
79c668dbec
commit
eca704f579
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user