diff options
| author | Unknown | 2018-01-12 15:45:29 +0100 |
|---|---|---|
| committer | Unknown | 2018-01-12 15:45:29 +0100 |
| commit | 587645741035e0325ddb6b7d191c8b1d14f3729a (patch) | |
| tree | a0883f01f00f4586bde90a1e5e95770e82e10349 /servers/arvr_server.cpp | |
| parent | bab9759645d29686c480d9bd0e6b1c50e4f541ef (diff) | |
| download | godot-587645741035e0325ddb6b7d191c8b1d14f3729a.tar.gz godot-587645741035e0325ddb6b7d191c8b1d14f3729a.tar.zst godot-587645741035e0325ddb6b7d191c8b1d14f3729a.zip | |
modify default param names in couple of signals
'name' default param should not be used since there is problem with name shadowing
Diffstat (limited to 'servers/arvr_server.cpp')
| -rw-r--r-- | servers/arvr_server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/arvr_server.cpp b/servers/arvr_server.cpp index 441a7581d..1804d9755 100644 --- a/servers/arvr_server.cpp +++ b/servers/arvr_server.cpp @@ -67,11 +67,11 @@ void ARVRServer::_bind_methods() { BIND_ENUM_CONSTANT(RESET_BUT_KEEP_TILT); BIND_ENUM_CONSTANT(DONT_RESET_ROTATION); - ADD_SIGNAL(MethodInfo("interface_added", PropertyInfo(Variant::STRING, "name"))); - ADD_SIGNAL(MethodInfo("interface_removed", PropertyInfo(Variant::STRING, "name"))); + ADD_SIGNAL(MethodInfo("interface_added", PropertyInfo(Variant::STRING, "interface_name"))); + ADD_SIGNAL(MethodInfo("interface_removed", PropertyInfo(Variant::STRING, "interface_name"))); - ADD_SIGNAL(MethodInfo("tracker_added", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::INT, "type"), PropertyInfo(Variant::INT, "id"))); - ADD_SIGNAL(MethodInfo("tracker_removed", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::INT, "type"), PropertyInfo(Variant::INT, "id"))); + ADD_SIGNAL(MethodInfo("tracker_added", PropertyInfo(Variant::STRING, "tracker_name"), PropertyInfo(Variant::INT, "type"), PropertyInfo(Variant::INT, "id"))); + ADD_SIGNAL(MethodInfo("tracker_removed", PropertyInfo(Variant::STRING, "tracker_name"), PropertyInfo(Variant::INT, "type"), PropertyInfo(Variant::INT, "id"))); }; real_t ARVRServer::get_world_scale() const { |
