summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-09-10 16:45:25 +0200
committerkobewi <kobewi4e@gmail.com>2022-09-10 16:45:51 +0200
commitaafe72fcecec89a461aca7a3a6a4f62ac4dd3989 (patch)
tree6f0b6c586b67666836049bec7068a8dbfc782eec /editor/plugins
parent461037203cc0ec4f8a59422163b37e29e125d5fc (diff)
Fix broken patterns on TileMap layer change
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/tiles/tile_map_editor.cpp1
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 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) {