From fb83d905daed6c2a7c4f95712d47815c7ccd8f2e Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 4 Feb 2021 02:02:06 +0100 Subject: Change sort_custom/bsearch_custom to use Callables --- editor/plugins/tile_set_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins') diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index deeab2fbc7..5ac7fe262f 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -2173,7 +2173,7 @@ Array TileSetEditor::_get_tiles_in_current_texture(bool sorted) { } } if (sorted) { - a.sort_custom(this, "_sort_tiles"); + a.sort_custom(callable_mp(this, &TileSetEditor::_sort_tiles)); } return a; } -- cgit v1.2.3