Bugfix. Project generation now respects the given 'headers_dir' start parameter.

pull/450/head
proxemy 2020-08-27 19:46:03 +02:00
parent ca800d63c8
commit f71ccdfbcb
1 changed files with 1 additions and 1 deletions

View File

@ -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