From f71ccdfbcb4e87742c7dc4999649068781d22183 Mon Sep 17 00:00:00 2001 From: proxemy <33573115+proxemy@users.noreply.github.com> Date: Thu, 27 Aug 2020 19:46:03 +0200 Subject: [PATCH] Bugfix. Project generation now respects the given 'headers_dir' start parameter. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index b63ee57d..1d0ea9ed 100644 --- a/SConstruct +++ b/SConstruct @@ -361,7 +361,7 @@ json_api_file = '' if 'custom_api_file' in env: json_api_file = env['custom_api_file'] else: - json_api_file = os.path.join(os.getcwd(), 'godot_headers', 'api.json') + json_api_file = os.path.join(os.getcwd(), env['headers_dir'], 'api.json') if env['generate_bindings']: # Actually create the bindings here