Let gdextension_dir function as only argument

(cherry picked from commit 7a5cbcac21)
pull/1281/head
Thaddeus Crews 2023-10-02 13:31:06 -05:00 committed by David Snopek
parent f7ffc4fe4d
commit 7704a9d054
1 changed files with 1 additions and 1 deletions

View File

@ -273,8 +273,8 @@ def generate(env):
def _godot_cpp(env): def _godot_cpp(env):
api_file = normalize_path(env.get("custom_api_file", env.File("gdextension/extension_api.json").abspath), env)
extension_dir = normalize_path(env.get("gdextension_dir", env.Dir("gdextension").abspath), env) extension_dir = normalize_path(env.get("gdextension_dir", env.Dir("gdextension").abspath), env)
api_file = normalize_path(env.get("custom_api_file", env.File(extension_dir + "/extension_api.json").abspath), env)
bindings = env.GodotCPPBindings( bindings = env.GodotCPPBindings(
env.Dir("."), env.Dir("."),
[ [