diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-09-14 16:35:52 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-09-14 16:35:52 -0300 |
commit | 585ad5c8eabb74449b8e1215b2ac921a3e44ca1d (patch) | |
tree | 94f52f07f6acd8bfabc10424abaa8c53f8c24f81 /scene/main | |
parent | 8f33542ac3661afdaea3850159598e1311f25a6f (diff) |
Expose "get_modal_stack_top()" to GDScript
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index dfd9dfa52e..487ca2b009 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2789,6 +2789,8 @@ void Viewport::_bind_methods() { ClassDB::bind_method(D_METHOD("gui_get_drag_data"), &Viewport::gui_get_drag_data); ClassDB::bind_method(D_METHOD("gui_is_dragging"), &Viewport::gui_is_dragging); + ClassDB::bind_method(D_METHOD("get_modal_stack_top"), &Viewport::get_modal_stack_top); + ClassDB::bind_method(D_METHOD("set_disable_input", "disable"), &Viewport::set_disable_input); ClassDB::bind_method(D_METHOD("is_input_disabled"), &Viewport::is_input_disabled); |