summaryrefslogtreecommitdiff
path: root/modules/gridmap
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/gridmap
parent5d9cab3aeb3c62df6b7b44e6e68c0ebbb67f7a45 (diff)
Disable 3D-only modules when 3D is disabled
Diffstat (limited to 'modules/gridmap')
-rw-r--r--modules/gridmap/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/config.py b/modules/gridmap/config.py
index a6319fe1ea..720401b92d 100644
--- a/modules/gridmap/config.py
+++ b/modules/gridmap/config.py
@@ -1,5 +1,5 @@
def can_build(env, platform):
- return True
+ return not env["disable_3d"]
def configure(env):