forked from bartvdbraak/blender
745fc2f9d0
So for the 2.4 release, both bullet AND sumo will be enabled. You can choose in the world buttons which physics engine is active for a scene. sorry if this breaks your builds!
26 lines
887 B
Python
26 lines
887 B
Python
#!/usr/bin/python
|
|
Import ('user_options_dict')
|
|
|
|
SConscript(['BlenderRoutines/SConscript',
|
|
'Converter/SConscript',
|
|
'Expressions/SConscript',
|
|
'GameLogic/SConscript',
|
|
'Ketsji/SConscript',
|
|
'Ketsji/KXNetwork/SConscript',
|
|
'Network/SConscript',
|
|
'Network/LoopBackNetwork/SConscript',
|
|
'Physics/common/SConscript',
|
|
'Physics/Dummy/SConscript',
|
|
'Rasterizer/SConscript',
|
|
'Rasterizer/RAS_OpenGLRasterizer/SConscript',
|
|
'SceneGraph/SConscript',
|
|
'Physics/Bullet/SConscript'])
|
|
|
|
if user_options_dict['BUILD_BLENDER_PLAYER']:
|
|
SConscript(['GamePlayer/SConscript'])
|
|
|
|
if user_options_dict['USE_PHYSICS'] == 'solid':
|
|
SConscript(['Physics/Sumo/SConscript'])
|
|
elif user_options_dict['USE_PHYSICS'] == 'ode':
|
|
SConscript(['Physics/BlOde/SConscript'])
|