diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-04 21:19:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 21:19:00 +0100 |
commit | 0b49e5de129bb33f60e861e82ec05070126e03f9 (patch) | |
tree | 1e5aa16ddac8cc62e5a6f66900a519c00747f853 /modules/visual_script/visual_script.cpp | |
parent | add3a825f0cb0c82026694b084f883f6f70be641 (diff) | |
parent | 35b8fc2d851354fea69c6e5f28ce483c2b75a1a4 (diff) |
Merge pull request #44914 from swarnimarun/master-visualscript-refactor
Fix doc for the VisualScript class after #39649 PR
Diffstat (limited to 'modules/visual_script/visual_script.cpp')
-rw-r--r-- | modules/visual_script/visual_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp index af8b1e9cc1..fe92f59179 100644 --- a/modules/visual_script/visual_script.cpp +++ b/modules/visual_script/visual_script.cpp @@ -1167,7 +1167,7 @@ Dictionary VisualScript::_get_data() const { } void VisualScript::_bind_methods() { - ClassDB::bind_method(D_METHOD("add_function", "name"), &VisualScript::add_function); + ClassDB::bind_method(D_METHOD("add_function", "name", "func_node_id"), &VisualScript::add_function); ClassDB::bind_method(D_METHOD("has_function", "name"), &VisualScript::has_function); ClassDB::bind_method(D_METHOD("remove_function", "name"), &VisualScript::remove_function); ClassDB::bind_method(D_METHOD("rename_function", "name", "new_name"), &VisualScript::rename_function); |