summaryrefslogtreecommitdiff
path: root/modules/meshoptimizer/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/meshoptimizer/config.py')
-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):