diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-12 08:56:08 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-12 08:56:08 +0200 |
commit | 143dbb354411e5f669e0f751f1254d03f531d576 (patch) | |
tree | a23e771070d5f36dde1dc24d4c70846c908d48bb | |
parent | ced736e584b625d8915780301883d773294dc1c4 (diff) | |
parent | 386382d7963e596ec0ab3bf78d2eb68b7b697b90 (diff) |
Merge pull request #67277 from KoBeWi/🤦♂️
Fix source sort not saving in TileMap editor
-rw-r--r-- | editor/plugins/tiles/tile_map_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp index 7cc29dbfad..dd16d4ffea 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() { |