From aafe72fcecec89a461aca7a3a6a4f62ac4dd3989 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 10 Sep 2022 16:45:25 +0200 Subject: Fix broken patterns on TileMap layer change --- editor/plugins/tiles/tile_map_editor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/plugins/tiles') diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp index a91f22ccd0..79230891f1 100644 --- a/editor/plugins/tiles/tile_map_editor.cpp +++ b/editor/plugins/tiles/tile_map_editor.cpp @@ -3677,6 +3677,7 @@ void TileMapEditor::_update_layers_selection() { tile_map_layer = -1; } tile_map->set_selected_layer(toggle_highlight_selected_layer_button->is_pressed() ? tile_map_layer : -1); + tileset_changed_needs_update = false; // Update is not needed here and actually causes problems. layers_selection_button->clear(); if (tile_map->get_layers_count() > 0) { -- cgit v1.2.3