From 4c8560f40d7a210380a2e25962ac794e0950ef75 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 23 Nov 2021 17:14:15 +0100 Subject: [PATCH] Fix compile when the props module is not present. --- SCsub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SCsub b/SCsub index c8d3504..420a8b4 100644 --- a/SCsub +++ b/SCsub @@ -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,"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")