Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
Diffstat (limited to 'intern')
-rw-r--r--intern/SConscript2
-rw-r--r--intern/elbeem/SConscript2
2 files changed, 2 insertions, 2 deletions
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':