summaryrefslogtreecommitdiff
path: root/scene/3d/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/SCsub')
-rw-r--r--scene/3d/SCsub11
1 files changed, 4 insertions, 7 deletions
diff --git a/scene/3d/SCsub b/scene/3d/SCsub
index 31a443bad1..ce69e8aa19 100644
--- a/scene/3d/SCsub
+++ b/scene/3d/SCsub
@@ -1,12 +1,9 @@
#!/usr/bin/env python
-Import('env')
+Import("env")
-if env['disable_3d']:
- env.add_source_files(env.scene_sources, "spatial.cpp")
- env.add_source_files(env.scene_sources, "skeleton.cpp")
- env.add_source_files(env.scene_sources, "particles.cpp")
- env.add_source_files(env.scene_sources, "visual_instance.cpp")
- env.add_source_files(env.scene_sources, "world_environment.cpp")
+if env["disable_3d"]:
+ env.add_source_files(env.scene_sources, "node_3d.cpp")
+ env.add_source_files(env.scene_sources, "skeleton_3d.cpp")
else:
env.add_source_files(env.scene_sources, "*.cpp")