summaryrefslogtreecommitdiff
path: root/modules/csg
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-03-17 15:22:33 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-06-03 17:45:28 -0400
commitacd695060b43ba62cde46a5e8165a702ab211597 (patch)
tree681935b8d9d987b9d9d4165c28237d61f0994096 /modules/csg
parent5d9cab3aeb3c62df6b7b44e6e68c0ebbb67f7a45 (diff)
Disable 3D-only modules when 3D is disabled
Diffstat (limited to 'modules/csg')
-rw-r--r--modules/csg/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/config.py b/modules/csg/config.py
index 9106cbceca..3991b846f9 100644
--- a/modules/csg/config.py
+++ b/modules/csg/config.py
@@ -1,5 +1,5 @@
def can_build(env, platform):
- return True
+ return not env["disable_3d"]
def configure(env):