3a2ca68af3
Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
12 lines
369 B
Python
12 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")
|