summaryrefslogtreecommitdiff
path: root/scene/SCsub
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-07-03 21:43:23 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-08-13 08:59:48 -0500
commit7094ccfbe98737e5ba5198f25a49dce252268a5e (patch)
tree316950a6d210e5dfd7513c3242f96bc1bce1335a /scene/SCsub
parent07c355c209c898f0696983f16cb2076366e0b283 (diff)
Disable Node3D when compiling without 3D and fix disable_3d option
Diffstat (limited to 'scene/SCsub')
-rw-r--r--scene/SCsub3
1 files changed, 2 insertions, 1 deletions
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")