From 7094ccfbe98737e5ba5198f25a49dce252268a5e Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 3 Jul 2021 21:43:23 -0400 Subject: Disable Node3D when compiling without 3D and fix disable_3d option --- scene/SCsub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene/SCsub') diff --git a/scene/SCsub b/scene/SCsub index ccd2bab8ff..92288211bb 100644 --- a/scene/SCsub +++ b/scene/SCsub @@ -10,7 +10,8 @@ env.add_source_files(env.scene_sources, "*.cpp") # Chain load SCsubs SConscript("main/SCsub") SConscript("gui/SCsub") -SConscript("3d/SCsub") +if not env["disable_3d"]: + SConscript("3d/SCsub") SConscript("2d/SCsub") SConscript("animation/SCsub") SConscript("audio/SCsub") -- cgit v1.2.3