From 2ecf987dc665eff477fb03a0cef0b2972e4b78d2 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 22 Oct 2008 11:28:10 +0000 Subject: * Minor cleanup of SCons files - cleanup of boolean usage - use True and False now instead of 'true'/'false' or 0/1 - changed SConscripts accordingly --- intern/SConscript | 2 +- intern/elbeem/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/SConscript b/intern/SConscript index f6092b7bd02..82c7739bf42 100644 --- a/intern/SConscript +++ b/intern/SConscript @@ -20,7 +20,7 @@ SConscript(['SoundSystem/SConscript', # perhaps get rid of intern/csg? NEW_CSG='false' -if env['BF_NO_ELBEEM'] == 0: +if not env['BF_NO_ELBEEM']: SConscript(['elbeem/SConscript']) if NEW_CSG=='false': diff --git a/intern/elbeem/SConscript b/intern/elbeem/SConscript index 68892ac261c..f1c09423f04 100644 --- a/intern/elbeem/SConscript +++ b/intern/elbeem/SConscript @@ -7,7 +7,7 @@ sources = env.Glob('intern/*.cpp') defs = 'NOGUI ELBEEM_BLENDER=1' -if env['WITH_BF_OPENMP'] == 1: +if env['WITH_BF_OPENMP']: defs += ' PARALLEL' if env['OURPLATFORM']=='win32-vc': -- cgit v1.2.3