summaryrefslogtreecommitdiff
path: root/editor/plugins/tiles
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-13 10:58:29 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-13 10:58:29 +0200
commitabdaa6da3d27cfc744f8ccc0b827fcf4faf13f53 (patch)
tree25fd412a3570e83699ee314ff1b38b3ca7155840 /editor/plugins/tiles
parentecefae22cb384b365bc32f17c3a39cd2fa9ff8ab (diff)
parentaafe72fcecec89a461aca7a3a6a4f62ac4dd3989 (diff)
Merge pull request #65621 from KoBeWi/eternal_pattern
Fix broken patterns on TileMap layer change
Diffstat (limited to 'editor/plugins/tiles')
-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) {