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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 16:51:22 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 16:51:22 +0400
commit591dc63eb13150b7cdb1b4ead739c8dd334bb4e3 (patch)
treee519ccb462249612fe3d581e87d2f9ea0c97b5d8
parent63dc2e9b7472b74631c6c8d3cf681fd54c47a902 (diff)
SCons: Fix compilation error with booleans disabled
-rw-r--r--source/blender/modifiers/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/modifiers/SConscript b/source/blender/modifiers/SConscript
index c15a562abc0..b4c8299250e 100644
--- a/source/blender/modifiers/SConscript
+++ b/source/blender/modifiers/SConscript
@@ -52,6 +52,9 @@ defs = []
if env['WITH_BF_BOOLEAN']:
incs.append('#/extern/carve')
defs.append('WITH_MOD_BOOLEAN')
+else:
+ from os import path
+ sources.remove(path.join('intern', 'MOD_boolean_util.c'))
if env['WITH_BF_REMESH']:
incs.append('#/intern/dualcon')