summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-05 09:30:19 +0100
committerGitHub <noreply@github.com>2021-02-05 09:30:19 +0100
commitd93f75fae5766c029af9eb28b7a5593d96f66750 (patch)
tree500bb716de953327f48a2fa984417e6d7dd483f6 /editor/plugins
parenta7a51fb3261d4d239dcce3070cbdbdb8e3abdcdb (diff)
parentfb83d905daed6c2a7c4f95712d47815c7ccd8f2e (diff)
Merge pull request #45698 from KoBeWi/callables_are_love_callables_are_life
Change sort_custom/bsearch_custom to use Callables
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}