summaryrefslogtreecommitdiff
path: root/modules/mobile_vr
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/mobile_vr
parent5d9cab3aeb3c62df6b7b44e6e68c0ebbb67f7a45 (diff)
Disable 3D-only modules when 3D is disabled
Diffstat (limited to 'modules/mobile_vr')
-rw-r--r--modules/mobile_vr/config.py2
1 files changed, 1 insertions, 1 deletions
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):