Merge pull request #450 from proxemy/master

Bugfix. Project generation now respects the given 'headers_dir' start…
pull/451/head
Marc 2020-08-30 22:47:49 +01:00 committed by GitHub
commit d53b294f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ json_api_file = ''
if 'custom_api_file' in env: if 'custom_api_file' in env:
json_api_file = env['custom_api_file'] json_api_file = env['custom_api_file']
else: 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']: if env['generate_bindings']:
# Actually create the bindings here # Actually create the bindings here