1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00
Files
godot/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

9 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")