Recast: fix bad level calls, Recast compiled out if BGE not enabled. SCons updated but not tested.
This commit is contained in:
@@ -7,8 +7,7 @@ incs = '. ./intern'
|
||||
incs += ' #/intern/guardedalloc #/intern/decimation/extern #/intern/bsp/extern #/intern/elbeem/extern #/extern/glew/include'
|
||||
incs += ' ../render/extern/include ../blenloader'
|
||||
incs += ' ../include ../blenlib ../makesdna ../makesrna ../blenkernel ../blenkernel/intern'
|
||||
incs += ' ../editors/include ../gpu'
|
||||
incs += ' #extern/recastnavigation/Recast/Include'
|
||||
incs += ' ../gpu'
|
||||
|
||||
incs += ' ' + env['BF_ZLIB_INC']
|
||||
|
||||
@@ -21,6 +20,10 @@ defs += ['WITH_MOD_DECIMATE']
|
||||
if env['BF_NO_ELBEEM']:
|
||||
defs.append('DISABLE_ELBEEM')
|
||||
|
||||
if env['WITH_BF_GAMEENGINE']:
|
||||
incs += ' #/extern/recastnavigation/Recast/Include'
|
||||
defs.append('WITH_GAMEENGINE')
|
||||
|
||||
env.BlenderLib ( libname = 'bf_modifiers', sources = sources,
|
||||
includes = Split(incs), defines=defs,
|
||||
libtype=['core','player'], priority = [80, 40] )
|
||||
|
||||
Reference in New Issue
Block a user