summaryrefslogtreecommitdiff
path: root/scene/3d/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-14 11:59:06 +0200
committerGitHub <noreply@github.com>2021-08-14 11:59:06 +0200
commita96c96ca7241974b1f86156a0ee70a87eae7b3e7 (patch)
tree5cc0668867814ed4c8518c0a9ab2d09dbbf51145 /scene/3d/SCsub
parent59879447a395adc4ced2ee7e88b0ef1bcc32c82d (diff)
parent7094ccfbe98737e5ba5198f25a49dce252268a5e (diff)
Merge pull request #50147 from aaronfranke/disable-node3d
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")