virtualx-engine/scene/3d/SCsub
Aaron Franke bbd49dec23
Disable Skeleton3D when compiling without 3D
Make animation code not depend on Skeleton3D or even Node3D
2021-06-04 08:33:50 -04:00

8 lines
178 B
Python

#!/usr/bin/env python
Import("env")
if env["disable_3d"]:
env.add_source_files(env.scene_sources, "node_3d.cpp")
else:
env.add_source_files(env.scene_sources, "*.cpp")