summaryrefslogtreecommitdiff
path: root/modules/meshoptimizer
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/meshoptimizer
parent5d9cab3aeb3c62df6b7b44e6e68c0ebbb67f7a45 (diff)
Disable 3D-only modules when 3D is disabled
Diffstat (limited to 'modules/meshoptimizer')
-rw-r--r--modules/meshoptimizer/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/meshoptimizer/config.py b/modules/meshoptimizer/config.py
index 82e4e43397..b7e69569b9 100644
--- a/modules/meshoptimizer/config.py
+++ b/modules/meshoptimizer/config.py
@@ -1,6 +1,6 @@
def can_build(env, platform):
# Having this on release by default, it's small and a lot of users like to do procedural stuff
- return True
+ return not env["disable_3d"]
def configure(env):