summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-22 15:34:04 +0200
committerGitHub <noreply@github.com>2019-07-22 15:34:04 +0200
commitf03c1c8d4fcc5758be84ce114c1b4f7990a19aed (patch)
tree052f28156bf8b60e33f928b1d3d32918f6988ab1 /scene
parent017b224a87064a3d333ba63809a0f12cfe2c4412 (diff)
parent66d09a6b4cae73fbb48fe01082af5397c4a75d9a (diff)
Merge pull request #30752 from akien-mga/scons-fix-add_source_files
SCons: Fix uses of [].append instead of env.add_source_files()
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/SCsub10
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/3d/SCsub b/scene/3d/SCsub
index 200cf4316f..31a443bad1 100644
--- a/scene/3d/SCsub
+++ b/scene/3d/SCsub
@@ -3,10 +3,10 @@
Import('env')
if env['disable_3d']:
- env.scene_sources.append("3d/spatial.cpp")
- env.scene_sources.append("3d/skeleton.cpp")
- env.scene_sources.append("3d/particles.cpp")
- env.scene_sources.append("3d/visual_instance.cpp")
- env.scene_sources.append("3d/world_environment.cpp")
+ 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")
else:
env.add_source_files(env.scene_sources, "*.cpp")