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/3d/SCsub | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scene/3d/SCsub') 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") -- cgit v1.2.3