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/mobile_vr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mobile_vr') diff --git a/modules/mobile_vr/config.py b/modules/mobile_vr/config.py index ee401c1a2a..f6b64fb690 100644 --- a/modules/mobile_vr/config.py +++ b/modules/mobile_vr/config.py @@ -1,5 +1,5 @@ def can_build(env, platform): - return True + return not env["disable_3d"] def configure(env): -- cgit v1.2.3