mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
3a2ca68af3
Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
13 lines
369 B
Python
13 lines
369 B
Python
#!/usr/bin/env python
|
|
|
|
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/scenario_fx.cpp")
|
|
else:
|
|
env.add_source_files(env.scene_sources, "*.cpp")
|