diff options
author | Andreas Haas <liu.gam3@gmail.com> | 2017-10-11 20:00:01 +0200 |
---|---|---|
committer | Andreas Haas <liu.gam3@gmail.com> | 2017-10-11 20:00:25 +0200 |
commit | d7b98478645675385be84427f5db2fc1a0a8c622 (patch) | |
tree | d9abd7d85d6628449373d1c852d2f93f75c198d5 /servers | |
parent | 409e58e67abde4e7af6e43b32c23338e119377fb (diff) |
Fix argument names in method bindings.
Adds a couple of missing argument names.
Diffstat (limited to 'servers')
-rw-r--r-- | servers/arvr_server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/arvr_server.cpp b/servers/arvr_server.cpp index aa879f8aed..4dfc40e9e4 100644 --- a/servers/arvr_server.cpp +++ b/servers/arvr_server.cpp @@ -53,10 +53,10 @@ void ARVRServer::_bind_methods() { ClassDB::bind_method(D_METHOD("get_tracker_count"), &ARVRServer::get_tracker_count); ClassDB::bind_method(D_METHOD("get_tracker", "idx"), &ARVRServer::get_tracker); - ClassDB::bind_method(D_METHOD("set_primary_interface"), &ARVRServer::set_primary_interface); + ClassDB::bind_method(D_METHOD("set_primary_interface", "interface"), &ARVRServer::set_primary_interface); - ClassDB::bind_method(D_METHOD("add_interface"), &ARVRServer::add_interface); - ClassDB::bind_method(D_METHOD("remove_interface"), &ARVRServer::remove_interface); + ClassDB::bind_method(D_METHOD("add_interface", "interface"), &ARVRServer::add_interface); + ClassDB::bind_method(D_METHOD("remove_interface", "interface"), &ARVRServer::remove_interface); BIND_ENUM_CONSTANT(TRACKER_CONTROLLER); BIND_ENUM_CONSTANT(TRACKER_BASESTATION); |