diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-09 13:54:55 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-10 07:17:51 +0200 |
commit | 78619a5866f44b057bc539e46a936f7580360800 (patch) | |
tree | 5ed9bb7c0b4b10e3979f5ada26505e62ba465c4a /scene/main/viewport.cpp | |
parent | b8420cda9c449160330ae30f1f89be7238502ee6 (diff) |
Fixes method definitions with extra number of arguments
Diffstat (limited to 'scene/main/viewport.cpp')
-rw-r--r-- | scene/main/viewport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 9aec84e866..717e76c5fd 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2713,10 +2713,10 @@ void Viewport::_bind_methods() { ClassDB::bind_method(D_METHOD("get_camera"), &Viewport::get_camera); ClassDB::bind_method(D_METHOD("set_as_audio_listener", "enable"), &Viewport::set_as_audio_listener); - ClassDB::bind_method(D_METHOD("is_audio_listener", "enable"), &Viewport::is_audio_listener); + ClassDB::bind_method(D_METHOD("is_audio_listener"), &Viewport::is_audio_listener); ClassDB::bind_method(D_METHOD("set_as_audio_listener_2d", "enable"), &Viewport::set_as_audio_listener_2d); - ClassDB::bind_method(D_METHOD("is_audio_listener_2d", "enable"), &Viewport::is_audio_listener_2d); + ClassDB::bind_method(D_METHOD("is_audio_listener_2d"), &Viewport::is_audio_listener_2d); ClassDB::bind_method(D_METHOD("set_attach_to_screen_rect", "rect"), &Viewport::set_attach_to_screen_rect); ClassDB::bind_method(D_METHOD("get_mouse_position"), &Viewport::get_mouse_position); |