summaryrefslogtreecommitdiffstats
path: root/scene/3d/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/3d/SCsub
parent07c355c209c898f0696983f16cb2076366e0b283 (diff)
downloadredot-engine-7094ccfbe98737e5ba5198f25a49dce252268a5e.tar.gz
Disable Node3D when compiling without 3D and fix disable_3d option
Diffstat (limited to 'scene/3d/SCsub')
-rw-r--r--scene/3d/SCsub5
1 files changed, 1 insertions, 4 deletions
diff --git a/scene/3d/SCsub b/scene/3d/SCsub
index 40bdaee47d..fc61250247 100644
--- a/scene/3d/SCsub
+++ b/scene/3d/SCsub
@@ -2,7 +2,4 @@
Import("env")
-if env["disable_3d"]:
- env.add_source_files(env.scene_sources, "node_3d.cpp")
-else:
- env.add_source_files(env.scene_sources, "*.cpp")
+env.add_source_files(env.scene_sources, "*.cpp")