1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Remove connect *_compat methods

This commit is contained in:
Aaron Franke
2020-12-05 16:01:27 -05:00
parent 91fd6374eb
commit 1b348b3c17
11 changed files with 23 additions and 39 deletions

View File

@@ -3620,11 +3620,11 @@ void TileSetEditorPlugin::make_visible(bool p_visible) {
if (p_visible) {
tileset_editor_button->show();
editor->make_bottom_panel_item_visible(tileset_editor);
get_tree()->connect_compat("idle_frame", tileset_editor, "_on_workspace_process");
get_tree()->connect("idle_frame", Callable(tileset_editor, "_on_workspace_process"));
} else {
editor->hide_bottom_panel();
tileset_editor_button->hide();
get_tree()->disconnect_compat("idle_frame", tileset_editor, "_on_workspace_process");
get_tree()->disconnect("idle_frame", Callable(tileset_editor, "_on_workspace_process"));
}
}