Fix compile when the props module is not present.

This commit is contained in:
Relintai 2021-11-23 17:14:15 +01:00
parent 413b8c0f26
commit 4c8560f40d

3
SCsub
View File

@ -29,4 +29,5 @@ if 'TOOLS_ENABLED' in env["CPPDEFINES"]:
module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp") module_env.add_source_files(env.modules_sources,"nodes/mesh_data_instance.cpp")
module_env.add_source_files(env.modules_sources,"props/prop_data_mesh_data.cpp") if os.path.isdir('../props'):
module_env.add_source_files(env.modules_sources,"props/prop_data_mesh_data.cpp")