From 386382d7963e596ec0ab3bf78d2eb68b7b697b90 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 11 Oct 2022 22:40:39 +0200 Subject: [PATCH] Fix source sort not saving in TileMap editor --- editor/plugins/tiles/tile_map_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp index 7cc29dbfadb..dd16d4ffead 100644 --- a/editor/plugins/tiles/tile_map_editor.cpp +++ b/editor/plugins/tiles/tile_map_editor.cpp @@ -2002,6 +2002,7 @@ void TileMapEditorTilesPlugin::_set_source_sort(int p_sort) { } TilesEditorPlugin::get_singleton()->set_sorting_option(p_sort); _update_tile_set_sources_list(); + EditorSettings::get_singleton()->set_project_metadata("editor_metadata", "tile_source_sort", p_sort); } void TileMapEditorTilesPlugin::_bind_methods() {