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/gridmap/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gridmap') 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): -- cgit v1.2.3