makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there
This commit is contained in:
@@ -392,6 +392,8 @@ class BlenderEnvironment(SConsEnvironment):
|
||||
lenv.Append(CPPDEFINES=defines)
|
||||
if lenv['WITH_BF_GAMEENGINE']:
|
||||
lenv.Append(CPPDEFINES=['GAMEBLENDER=1'])
|
||||
if lenv['WITH_BF_BULLET']:
|
||||
lenv.Append(CPPDEFINES=['WITH_BULLET=1'])
|
||||
# debug or not
|
||||
# CXXFLAGS defaults to CCFLAGS, therefore
|
||||
# we Replace() rather than Append() to CXXFLAGS the first time
|
||||
|
Reference in New Issue
Block a user