diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-22 15:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-22 15:34:04 +0200 |
commit | f03c1c8d4fcc5758be84ce114c1b4f7990a19aed (patch) | |
tree | 052f28156bf8b60e33f928b1d3d32918f6988ab1 /scene | |
parent | 017b224a87064a3d333ba63809a0f12cfe2c4412 (diff) | |
parent | 66d09a6b4cae73fbb48fe01082af5397c4a75d9a (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/SCsub | 10 |
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") |