From acd695060b43ba62cde46a5e8165a702ab211597 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 17 Mar 2021 15:22:33 -0400 Subject: Disable 3D-only modules when 3D is disabled --- modules/meshoptimizer/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/meshoptimizer') 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): -- cgit v1.2.3